(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(c);new MutationObserver(c=>{for(const h of c)if(h.type==="childList")for(const d of h.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&u(d)}).observe(document,{childList:!0,subtree:!0});function o(c){const h={};return c.integrity&&(h.integrity=c.integrity),c.referrerPolicy&&(h.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?h.credentials="include":c.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function u(c){if(c.ep)return;c.ep=!0;const h=o(c);fetch(c.href,h)}})();var Ur={exports:{}},cl={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var rp;function I1(){if(rp)return cl;rp=1;var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function o(u,c,h){var d=null;if(h!==void 0&&(d=""+h),c.key!==void 0&&(d=""+c.key),"key"in c){h={};for(var m in c)m!=="key"&&(h[m]=c[m])}else h=c;return c=h.ref,{$$typeof:a,type:u,key:d,ref:c!==void 0?c:null,props:h}}return cl.Fragment=l,cl.jsx=o,cl.jsxs=o,cl}var cp;function tx(){return cp||(cp=1,Ur.exports=I1()),Ur.exports}var v=tx(),Lr={exports:{}},it={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var fp;function ex(){if(fp)return it;fp=1;var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),S=Symbol.iterator;function C(E){return E===null||typeof E!="object"?null:(E=S&&E[S]||E["@@iterator"],typeof E=="function"?E:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,L={};function H(E,B,Z){this.props=E,this.context=B,this.refs=L,this.updater=Z||R}H.prototype.isReactComponent={},H.prototype.setState=function(E,B){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,B,"setState")},H.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function G(){}G.prototype=H.prototype;function q(E,B,Z){this.props=E,this.context=B,this.refs=L,this.updater=Z||R}var X=q.prototype=new G;X.constructor=q,U(X,H.prototype),X.isPureReactComponent=!0;var K=Array.isArray;function lt(){}var I={H:null,A:null,T:null,S:null},$=Object.prototype.hasOwnProperty;function at(E,B,Z){var P=Z.ref;return{$$typeof:a,type:E,key:B,ref:P!==void 0?P:null,props:Z}}function tt(E,B){return at(E.type,B,E.props)}function pt(E){return typeof E=="object"&&E!==null&&E.$$typeof===a}function vt(E){var B={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(Z){return B[Z]})}var $t=/\/+/g;function Gt(E,B){return typeof E=="object"&&E!==null&&E.key!=null?vt(""+E.key):B.toString(36)}function Lt(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(lt,lt):(E.status="pending",E.then(function(B){E.status==="pending"&&(E.status="fulfilled",E.value=B)},function(B){E.status==="pending"&&(E.status="rejected",E.reason=B)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function O(E,B,Z,P,st){var ct=typeof E;(ct==="undefined"||ct==="boolean")&&(E=null);var At=!1;if(E===null)At=!0;else switch(ct){case"bigint":case"string":case"number":At=!0;break;case"object":switch(E.$$typeof){case a:case l:At=!0;break;case x:return At=E._init,O(At(E._payload),B,Z,P,st)}}if(At)return st=st(E),At=P===""?"."+Gt(E,0):P,K(st)?(Z="",At!=null&&(Z=At.replace($t,"$&/")+"/"),O(st,B,Z,"",function(gi){return gi})):st!=null&&(pt(st)&&(st=tt(st,Z+(st.key==null||E&&E.key===st.key?"":(""+st.key).replace($t,"$&/")+"/")+At)),B.push(st)),1;At=0;var oe=P===""?".":P+":";if(K(E))for(var Ht=0;Ht>>1,yt=O[ut];if(0>>1;utc(Z,k))Pc(st,Z)?(O[ut]=st,O[P]=k,ut=P):(O[ut]=Z,O[B]=k,ut=B);else if(Pc(st,k))O[ut]=st,O[P]=k,ut=P;else break t}}return Q}function c(O,Q){var k=O.sortIndex-Q.sortIndex;return k!==0?k:O.id-Q.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;a.unstable_now=function(){return h.now()}}else{var d=Date,m=d.now();a.unstable_now=function(){return d.now()-m}}var g=[],p=[],x=1,b=null,S=3,C=!1,R=!1,U=!1,L=!1,H=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,q=typeof setImmediate<"u"?setImmediate:null;function X(O){for(var Q=o(p);Q!==null;){if(Q.callback===null)u(p);else if(Q.startTime<=O)u(p),Q.sortIndex=Q.expirationTime,l(g,Q);else break;Q=o(p)}}function K(O){if(U=!1,X(O),!R)if(o(g)!==null)R=!0,lt||(lt=!0,vt());else{var Q=o(p);Q!==null&&Lt(K,Q.startTime-O)}}var lt=!1,I=-1,$=5,at=-1;function tt(){return L?!0:!(a.unstable_now()-at<$)}function pt(){if(L=!1,lt){var O=a.unstable_now();at=O;var Q=!0;try{t:{R=!1,U&&(U=!1,G(I),I=-1),C=!0;var k=S;try{e:{for(X(O),b=o(g);b!==null&&!(b.expirationTime>O&&tt());){var ut=b.callback;if(typeof ut=="function"){b.callback=null,S=b.priorityLevel;var yt=ut(b.expirationTime<=O);if(O=a.unstable_now(),typeof yt=="function"){b.callback=yt,X(O),Q=!0;break e}b===o(g)&&u(g),X(O)}else u(g);b=o(g)}if(b!==null)Q=!0;else{var E=o(p);E!==null&&Lt(K,E.startTime-O),Q=!1}}break t}finally{b=null,S=k,C=!1}Q=void 0}}finally{Q?vt():lt=!1}}}var vt;if(typeof q=="function")vt=function(){q(pt)};else if(typeof MessageChannel<"u"){var $t=new MessageChannel,Gt=$t.port2;$t.port1.onmessage=pt,vt=function(){Gt.postMessage(null)}}else vt=function(){H(pt,0)};function Lt(O,Q){I=H(function(){O(a.unstable_now())},Q)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(O){O.callback=null},a.unstable_forceFrameRate=function(O){0>O||125ut?(O.sortIndex=k,l(p,O),o(g)===null&&O===o(p)&&(U?(G(I),I=-1):U=!0,Lt(K,k-ut))):(O.sortIndex=yt,l(g,O),R||C||(R=!0,lt||(lt=!0,vt()))),O},a.unstable_shouldYield=tt,a.unstable_wrapCallback=function(O){var Q=S;return function(){var k=S;S=Q;try{return O.apply(this,arguments)}finally{S=k}}}})(Yr)),Yr}var mp;function ax(){return mp||(mp=1,qr.exports=nx()),qr.exports}var Gr={exports:{}},se={};/** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var pp;function ix(){if(pp)return se;pp=1;var a=Nc();function l(g){var p="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(l){console.error(l)}}return a(),Gr.exports=ix(),Gr.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var gp;function sx(){if(gp)return fl;gp=1;var a=ax(),l=Nc(),o=lx();function u(t){var e="https://react.dev/errors/"+t;if(1yt||(t.current=ut[yt],ut[yt]=null,yt--)}function Z(t,e){yt++,ut[yt]=t.current,t.current=e}var P=E(null),st=E(null),ct=E(null),At=E(null);function oe(t,e){switch(Z(ct,e),Z(st,t),Z(P,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Om(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Om(e),t=wm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}B(P),Z(P,t)}function Ht(){B(P),B(st),B(ct)}function gi(t){t.memoizedState!==null&&Z(At,t);var e=P.current,n=wm(e,t.type);e!==n&&(Z(st,t),Z(P,n))}function Cl(t){st.current===t&&(B(P),B(st)),At.current===t&&(B(At),sl._currentValue=k)}var xo,uf;function In(t){if(xo===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);xo=e&&e[1]||"",uf=-1)":-1s||T[i]!==D[s]){var w=` `+T[i].replace(" at new "," at ");return t.displayName&&w.includes("")&&(w=w.replace("",t.displayName)),w}while(1<=i&&0<=s);break}}}finally{bo=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?In(n):""}function Ng(t,e){switch(t.tag){case 26:case 27:case 5:return In(t.type);case 16:return In("Lazy");case 13:return t.child!==e&&e!==null?In("Suspense Fallback"):In("Suspense");case 19:return In("SuspenseList");case 0:case 15:return So(t.type,!1);case 11:return So(t.type.render,!1);case 1:return So(t.type,!0);case 31:return In("Activity");default:return""}}function rf(t){try{var e="",n=null;do e+=Ng(t,n),n=t,t=t.return;while(t);return e}catch(i){return` Error generating stack: `+i.message+` `+i.stack}}var To=Object.prototype.hasOwnProperty,Ao=a.unstable_scheduleCallback,Eo=a.unstable_cancelCallback,Rg=a.unstable_shouldYield,Og=a.unstable_requestPaint,xe=a.unstable_now,wg=a.unstable_getCurrentPriorityLevel,cf=a.unstable_ImmediatePriority,ff=a.unstable_UserBlockingPriority,jl=a.unstable_NormalPriority,Vg=a.unstable_LowPriority,df=a.unstable_IdlePriority,_g=a.log,Bg=a.unstable_setDisableYieldValue,vi=null,be=null;function Sn(t){if(typeof _g=="function"&&Bg(t),be&&typeof be.setStrictMode=="function")try{be.setStrictMode(vi,t)}catch{}}var Se=Math.clz32?Math.clz32:Hg,Ug=Math.log,Lg=Math.LN2;function Hg(t){return t>>>=0,t===0?32:31-(Ug(t)/Lg|0)|0}var Dl=256,zl=262144,Nl=4194304;function ta(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Rl(t,e,n){var i=t.pendingLanes;if(i===0)return 0;var s=0,r=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var y=i&134217727;return y!==0?(i=y&~r,i!==0?s=ta(i):(f&=y,f!==0?s=ta(f):n||(n=y&~t,n!==0&&(s=ta(n))))):(y=i&~r,y!==0?s=ta(y):f!==0?s=ta(f):n||(n=i&~t,n!==0&&(s=ta(n)))),s===0?0:e!==0&&e!==s&&(e&r)===0&&(r=s&-s,n=e&-e,r>=n||r===32&&(n&4194048)!==0)?e:s}function xi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function qg(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function hf(){var t=Nl;return Nl<<=1,(Nl&62914560)===0&&(Nl=4194304),t}function Mo(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function bi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Yg(t,e,n,i,s,r){var f=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var y=t.entanglements,T=t.expirationTimes,D=t.hiddenUpdates;for(n=f&~n;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Kg=/[\n"\\]/g;function Re(t){return t.replace(Kg,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Ro(t,e,n,i,s,r,f,y){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ne(e)):t.value!==""+Ne(e)&&(t.value=""+Ne(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?Oo(t,f,Ne(e)):n!=null?Oo(t,f,Ne(n)):i!=null&&t.removeAttribute("value"),s==null&&r!=null&&(t.defaultChecked=!!r),s!=null&&(t.checked=s&&typeof s!="function"&&typeof s!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+Ne(y):t.removeAttribute("name")}function Cf(t,e,n,i,s,r,f,y){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.type=r),e!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||e!=null)){No(t);return}n=n!=null?""+Ne(n):"",e=e!=null?""+Ne(e):n,y||e===t.value||(t.value=e),t.defaultValue=e}i=i??s,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=y?t.checked:!!i,t.defaultChecked=!!i,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f),No(t)}function Oo(t,e,n){e==="number"&&Vl(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function za(t,e,n,i){if(t=t.options,e){e={};for(var s=0;s"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uo=!1;if(ln)try{var Ei={};Object.defineProperty(Ei,"passive",{get:function(){Uo=!0}}),window.addEventListener("test",Ei,Ei),window.removeEventListener("test",Ei,Ei)}catch{Uo=!1}var An=null,Lo=null,Bl=null;function wf(){if(Bl)return Bl;var t,e=Lo,n=e.length,i,s="value"in An?An.value:An.textContent,r=s.length;for(t=0;t=ji),Hf=" ",qf=!1;function Yf(t,e){switch(t){case"keyup":return Sv.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var wa=!1;function Av(t,e){switch(t){case"compositionend":return Gf(e);case"keypress":return e.which!==32?null:(qf=!0,Hf);case"textInput":return t=e.data,t===Hf&&qf?null:t;default:return null}}function Ev(t,e){if(wa)return t==="compositionend"||!Xo&&Yf(t,e)?(t=wf(),Bl=Lo=An=null,wa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=i}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Pf(n)}}function $f(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?$f(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function If(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Vl(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Vl(t.document)}return e}function ko(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Ov=ln&&"documentMode"in document&&11>=document.documentMode,Va=null,Ko=null,Ri=null,Jo=!1;function td(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Jo||Va==null||Va!==Vl(i)||(i=Va,"selectionStart"in i&&ko(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Ri&&Ni(Ri,i)||(Ri=i,i=zs(Ko,"onSelect"),0>=f,s-=f,Je=1<<32-Se(e)+s|n<rt?(mt=W,W=null):mt=W.sibling;var bt=z(M,W,j[rt],V);if(bt===null){W===null&&(W=mt);break}t&&W&&bt.alternate===null&&e(M,W),A=r(bt,A,rt),xt===null?et=bt:xt.sibling=bt,xt=bt,W=mt}if(rt===j.length)return n(M,W),gt&&on(M,rt),et;if(W===null){for(;rtrt?(mt=W,W=null):mt=W.sibling;var Zn=z(M,W,bt.value,V);if(Zn===null){W===null&&(W=mt);break}t&&W&&Zn.alternate===null&&e(M,W),A=r(Zn,A,rt),xt===null?et=Zn:xt.sibling=Zn,xt=Zn,W=mt}if(bt.done)return n(M,W),gt&&on(M,rt),et;if(W===null){for(;!bt.done;rt++,bt=j.next())bt=_(M,bt.value,V),bt!==null&&(A=r(bt,A,rt),xt===null?et=bt:xt.sibling=bt,xt=bt);return gt&&on(M,rt),et}for(W=i(W);!bt.done;rt++,bt=j.next())bt=N(W,M,rt,bt.value,V),bt!==null&&(t&&bt.alternate!==null&&W.delete(bt.key===null?rt:bt.key),A=r(bt,A,rt),xt===null?et=bt:xt.sibling=bt,xt=bt);return t&&W.forEach(function($1){return e(M,$1)}),gt&&on(M,rt),et}function Dt(M,A,j,V){if(typeof j=="object"&&j!==null&&j.type===U&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case C:t:{for(var et=j.key;A!==null;){if(A.key===et){if(et=j.type,et===U){if(A.tag===7){n(M,A.sibling),V=s(A,j.props.children),V.return=M,M=V;break t}}else if(A.elementType===et||typeof et=="object"&&et!==null&&et.$$typeof===$&&fa(et)===A.type){n(M,A.sibling),V=s(A,j.props),Ui(V,j),V.return=M,M=V;break t}n(M,A);break}else e(M,A);A=A.sibling}j.type===U?(V=sa(j.props.children,M.mode,V,j.key),V.return=M,M=V):(V=kl(j.type,j.key,j.props,null,M.mode,V),Ui(V,j),V.return=M,M=V)}return f(M);case R:t:{for(et=j.key;A!==null;){if(A.key===et)if(A.tag===4&&A.stateNode.containerInfo===j.containerInfo&&A.stateNode.implementation===j.implementation){n(M,A.sibling),V=s(A,j.children||[]),V.return=M,M=V;break t}else{n(M,A);break}else e(M,A);A=A.sibling}V=eu(j,M.mode,V),V.return=M,M=V}return f(M);case $:return j=fa(j),Dt(M,A,j,V)}if(Lt(j))return J(M,A,j,V);if(vt(j)){if(et=vt(j),typeof et!="function")throw Error(u(150));return j=et.call(j),nt(M,A,j,V)}if(typeof j.then=="function")return Dt(M,A,Il(j),V);if(j.$$typeof===q)return Dt(M,A,Fl(M,j),V);ts(M,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(j=""+j,A!==null&&A.tag===6?(n(M,A.sibling),V=s(A,j),V.return=M,M=V):(n(M,A),V=tu(j,M.mode,V),V.return=M,M=V),f(M)):n(M,A)}return function(M,A,j,V){try{Bi=0;var et=Dt(M,A,j,V);return Za=null,et}catch(W){if(W===Qa||W===Wl)throw W;var xt=Ae(29,W,null,M.mode);return xt.lanes=V,xt.return=M,xt}finally{}}}var ha=Ad(!0),Ed=Ad(!1),Dn=!1;function hu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function mu(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function zn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Nn(t,e,n){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(St&2)!==0){var s=i.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),i.pending=e,e=Zl(t),od(t,null,n),e}return Ql(t,i,e,n),Zl(t)}function Li(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,pf(t,n)}}function pu(t,e){var n=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var s=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?s=r=f:r=r.next=f,n=n.next}while(n!==null);r===null?s=r=e:r=r.next=e}else s=r=e;n={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:r,shared:i.shared,callbacks:i.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var yu=!1;function Hi(){if(yu){var t=Xa;if(t!==null)throw t}}function qi(t,e,n,i){yu=!1;var s=t.updateQueue;Dn=!1;var r=s.firstBaseUpdate,f=s.lastBaseUpdate,y=s.shared.pending;if(y!==null){s.shared.pending=null;var T=y,D=T.next;T.next=null,f===null?r=D:f.next=D,f=T;var w=t.alternate;w!==null&&(w=w.updateQueue,y=w.lastBaseUpdate,y!==f&&(y===null?w.firstBaseUpdate=D:y.next=D,w.lastBaseUpdate=T))}if(r!==null){var _=s.baseState;f=0,w=D=T=null,y=r;do{var z=y.lane&-536870913,N=z!==y.lane;if(N?(ht&z)===z:(i&z)===z){z!==0&&z===Ga&&(yu=!0),w!==null&&(w=w.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});t:{var J=t,nt=y;z=e;var Dt=n;switch(nt.tag){case 1:if(J=nt.payload,typeof J=="function"){_=J.call(Dt,_,z);break t}_=J;break t;case 3:J.flags=J.flags&-65537|128;case 0:if(J=nt.payload,z=typeof J=="function"?J.call(Dt,_,z):J,z==null)break t;_=b({},_,z);break t;case 2:Dn=!0}}z=y.callback,z!==null&&(t.flags|=64,N&&(t.flags|=8192),N=s.callbacks,N===null?s.callbacks=[z]:N.push(z))}else N={lane:z,tag:y.tag,payload:y.payload,callback:y.callback,next:null},w===null?(D=w=N,T=_):w=w.next=N,f|=z;if(y=y.next,y===null){if(y=s.shared.pending,y===null)break;N=y,y=N.next,N.next=null,s.lastBaseUpdate=N,s.shared.pending=null}}while(!0);w===null&&(T=_),s.baseState=T,s.firstBaseUpdate=D,s.lastBaseUpdate=w,r===null&&(s.shared.lanes=0),_n|=f,t.lanes=f,t.memoizedState=_}}function Md(t,e){if(typeof t!="function")throw Error(u(191,t));t.call(e)}function Cd(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;tr?r:8;var f=O.T,y={};O.T=y,_u(t,!1,e,n);try{var T=s(),D=O.S;if(D!==null&&D(y,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var w=Yv(T,i);Xi(t,e,w,De(t))}else Xi(t,e,i,De(t))}catch(_){Xi(t,e,{then:function(){},status:"rejected",reason:_},De())}finally{Q.p=r,f!==null&&y.types!==null&&(f.types=y.types),O.T=f}}function Kv(){}function wu(t,e,n,i){if(t.tag!==5)throw Error(u(476));var s=ih(t).queue;ah(t,s,e,k,n===null?Kv:function(){return lh(t),n(i)})}function ih(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:k},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function lh(t){var e=ih(t);e.next===null&&(e=t.alternate.memoizedState),Xi(t,e.next.queue,{},De())}function Vu(){return ee(sl)}function sh(){return Yt().memoizedState}function oh(){return Yt().memoizedState}function Jv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=De();t=zn(n);var i=Nn(e,t,n);i!==null&&(ge(i,e,n),Li(i,e,n)),e={cache:ru()},t.payload=e;return}e=e.return}}function Fv(t,e,n){var i=De();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},cs(t)?rh(e,n):(n=$o(t,e,n,i),n!==null&&(ge(n,t,i),ch(n,e,i)))}function uh(t,e,n){var i=De();Xi(t,e,n,i)}function Xi(t,e,n,i){var s={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(cs(t))rh(e,s);else{var r=t.alternate;if(t.lanes===0&&(r===null||r.lanes===0)&&(r=e.lastRenderedReducer,r!==null))try{var f=e.lastRenderedState,y=r(f,n);if(s.hasEagerState=!0,s.eagerState=y,Te(y,f))return Ql(t,e,s,0),zt===null&&Xl(),!1}catch{}finally{}if(n=$o(t,e,s,i),n!==null)return ge(n,t,i),ch(n,e,i),!0}return!1}function _u(t,e,n,i){if(i={lane:2,revertLane:hr(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},cs(t)){if(e)throw Error(u(479))}else e=$o(t,n,i,2),e!==null&&ge(e,t,2)}function cs(t){var e=t.alternate;return t===ot||e!==null&&e===ot}function rh(t,e){Ka=as=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function ch(t,e,n){if((n&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,pf(t,n)}}var Qi={readContext:ee,use:ss,useCallback:_t,useContext:_t,useEffect:_t,useImperativeHandle:_t,useLayoutEffect:_t,useInsertionEffect:_t,useMemo:_t,useReducer:_t,useRef:_t,useState:_t,useDebugValue:_t,useDeferredValue:_t,useTransition:_t,useSyncExternalStore:_t,useId:_t,useHostTransitionStatus:_t,useFormState:_t,useActionState:_t,useOptimistic:_t,useMemoCache:_t,useCacheRefresh:_t};Qi.useEffectEvent=_t;var fh={readContext:ee,use:ss,useCallback:function(t,e){return ue().memoizedState=[t,e===void 0?null:e],t},useContext:ee,useEffect:Jd,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,us(4194308,4,$d.bind(null,e,t),n)},useLayoutEffect:function(t,e){return us(4194308,4,t,e)},useInsertionEffect:function(t,e){us(4,2,t,e)},useMemo:function(t,e){var n=ue();e=e===void 0?null:e;var i=t();if(ma){Sn(!0);try{t()}finally{Sn(!1)}}return n.memoizedState=[i,e],i},useReducer:function(t,e,n){var i=ue();if(n!==void 0){var s=n(e);if(ma){Sn(!0);try{n(e)}finally{Sn(!1)}}}else s=e;return i.memoizedState=i.baseState=s,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:s},i.queue=t,t=t.dispatch=Fv.bind(null,ot,t),[i.memoizedState,t]},useRef:function(t){var e=ue();return t={current:t},e.memoizedState=t},useState:function(t){t=Du(t);var e=t.queue,n=uh.bind(null,ot,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Ru,useDeferredValue:function(t,e){var n=ue();return Ou(n,t,e)},useTransition:function(){var t=Du(!1);return t=ah.bind(null,ot,t.queue,!0,!1),ue().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var i=ot,s=ue();if(gt){if(n===void 0)throw Error(u(407));n=n()}else{if(n=e(),zt===null)throw Error(u(349));(ht&127)!==0||Od(i,e,n)}s.memoizedState=n;var r={value:n,getSnapshot:e};return s.queue=r,Jd(Vd.bind(null,i,r,t),[t]),i.flags|=2048,Fa(9,{destroy:void 0},wd.bind(null,i,r,n,e),null),n},useId:function(){var t=ue(),e=zt.identifierPrefix;if(gt){var n=Fe,i=Je;n=(i&~(1<<32-Se(i)-1)).toString(32)+n,e="_"+e+"R_"+n,n=is++,0<\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof i.is=="string"?f.createElement("select",{is:i.is}):f.createElement("select"),i.multiple?r.multiple=!0:i.size&&(r.size=i.size);break;default:r=typeof i.is=="string"?f.createElement(s,{is:i.is}):f.createElement(s)}}r[It]=e,r[fe]=i;t:for(f=e.child;f!==null;){if(f.tag===5||f.tag===6)r.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break t;for(;f.sibling===null;){if(f.return===null||f.return===e)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}e.stateNode=r;t:switch(ae(r,s,i),s){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&hn(e)}}return Ot(e),Fu(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&hn(e);else{if(typeof i!="string"&&e.stateNode===null)throw Error(u(166));if(t=ct.current,qa(e)){if(t=e.stateNode,n=e.memoizedProps,i=null,s=te,s!==null)switch(s.tag){case 27:case 5:i=s.memoizedProps}t[It]=e,t=!!(t.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||Nm(t.nodeValue,n)),t||Cn(e,!0)}else t=Ns(t).createTextNode(i),t[It]=e,e.stateNode=t}return Ot(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(i=qa(e),n!==null){if(t===null){if(!i)throw Error(u(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(557));t[It]=e}else oa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ot(e),t=!1}else n=lu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Me(e),e):(Me(e),null);if((e.flags&128)!==0)throw Error(u(558))}return Ot(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(s=qa(e),i!==null&&i.dehydrated!==null){if(t===null){if(!s)throw Error(u(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[It]=e}else oa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ot(e),s=!1}else s=lu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),s=!0;if(!s)return e.flags&256?(Me(e),e):(Me(e),null)}return Me(e),(e.flags&128)!==0?(e.lanes=n,e):(n=i!==null,t=t!==null&&t.memoizedState!==null,n&&(i=e.child,s=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(s=i.alternate.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==s&&(i.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),ps(e,e.updateQueue),Ot(e),null);case 4:return Ht(),t===null&&gr(e.stateNode.containerInfo),Ot(e),null;case 10:return rn(e.type),Ot(e),null;case 19:if(B(qt),i=e.memoizedState,i===null)return Ot(e),null;if(s=(e.flags&128)!==0,r=i.rendering,r===null)if(s)ki(i,!1);else{if(Bt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(r=ns(t),r!==null){for(e.flags|=128,ki(i,!1),t=r.updateQueue,e.updateQueue=t,ps(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)ud(n,t),n=n.sibling;return Z(qt,qt.current&1|2),gt&&on(e,i.treeForkCount),e.child}t=t.sibling}i.tail!==null&&xe()>bs&&(e.flags|=128,s=!0,ki(i,!1),e.lanes=4194304)}else{if(!s)if(t=ns(r),t!==null){if(e.flags|=128,s=!0,t=t.updateQueue,e.updateQueue=t,ps(e,t),ki(i,!0),i.tail===null&&i.tailMode==="hidden"&&!r.alternate&&!gt)return Ot(e),null}else 2*xe()-i.renderingStartTime>bs&&n!==536870912&&(e.flags|=128,s=!0,ki(i,!1),e.lanes=4194304);i.isBackwards?(r.sibling=e.child,e.child=r):(t=i.last,t!==null?t.sibling=r:e.child=r,i.last=r)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=xe(),t.sibling=null,n=qt.current,Z(qt,s?n&1|2:n&1),gt&&on(e,i.treeForkCount),t):(Ot(e),null);case 22:case 23:return Me(e),vu(),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(n&536870912)!==0&&(e.flags&128)===0&&(Ot(e),e.subtreeFlags&6&&(e.flags|=8192)):Ot(e),n=e.updateQueue,n!==null&&ps(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==n&&(e.flags|=2048),t!==null&&B(ca),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),rn(Xt),Ot(e),null;case 25:return null;case 30:return null}throw Error(u(156,e.tag))}function t1(t,e){switch(au(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return rn(Xt),Ht(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Cl(e),null;case 31:if(e.memoizedState!==null){if(Me(e),e.alternate===null)throw Error(u(340));oa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Me(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(u(340));oa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return B(qt),null;case 4:return Ht(),null;case 10:return rn(e.type),null;case 22:case 23:return Me(e),vu(),t!==null&&B(ca),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return rn(Xt),null;case 25:return null;default:return null}}function _h(t,e){switch(au(e),e.tag){case 3:rn(Xt),Ht();break;case 26:case 27:case 5:Cl(e);break;case 4:Ht();break;case 31:e.memoizedState!==null&&Me(e);break;case 13:Me(e);break;case 19:B(qt);break;case 10:rn(e.type);break;case 22:case 23:Me(e),vu(),t!==null&&B(ca);break;case 24:rn(Xt)}}function Ki(t,e){try{var n=e.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var s=i.next;n=s;do{if((n.tag&t)===t){i=void 0;var r=n.create,f=n.inst;i=r(),f.destroy=i}n=n.next}while(n!==s)}}catch(y){Mt(e,e.return,y)}}function wn(t,e,n){try{var i=e.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var r=s.next;i=r;do{if((i.tag&t)===t){var f=i.inst,y=f.destroy;if(y!==void 0){f.destroy=void 0,s=e;var T=n,D=y;try{D()}catch(w){Mt(s,T,w)}}}i=i.next}while(i!==r)}}catch(w){Mt(e,e.return,w)}}function Bh(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Cd(e,n)}catch(i){Mt(t,t.return,i)}}}function Uh(t,e,n){n.props=pa(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(i){Mt(t,e,i)}}function Ji(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:i=t.stateNode;break;default:i=t.stateNode}typeof n=="function"?t.refCleanup=n(i):n.current=i}}catch(s){Mt(t,e,s)}}function Pe(t,e){var n=t.ref,i=t.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(s){Mt(t,e,s)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(s){Mt(t,e,s)}else n.current=null}function Lh(t){var e=t.type,n=t.memoizedProps,i=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break t;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(s){Mt(t,t.return,s)}}function Pu(t,e,n){try{var i=t.stateNode;T1(i,t.type,n,e),i[fe]=e}catch(s){Mt(t,t.return,s)}}function Hh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&qn(t.type)||t.tag===4}function Wu(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Hh(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&qn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function $u(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=an));else if(i!==4&&(i===27&&qn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for($u(t,e,n),t=t.sibling;t!==null;)$u(t,e,n),t=t.sibling}function ys(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(i!==4&&(i===27&&qn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(ys(t,e,n),t=t.sibling;t!==null;)ys(t,e,n),t=t.sibling}function qh(t){var e=t.stateNode,n=t.memoizedProps;try{for(var i=t.type,s=e.attributes;s.length;)e.removeAttributeNode(s[0]);ae(e,i,n),e[It]=t,e[fe]=n}catch(r){Mt(t,t.return,r)}}var mn=!1,kt=!1,Iu=!1,Yh=typeof WeakSet=="function"?WeakSet:Set,Wt=null;function e1(t,e){if(t=t.containerInfo,br=Us,t=If(t),ko(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var s=i.anchorOffset,r=i.focusNode;i=i.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break t}var f=0,y=-1,T=-1,D=0,w=0,_=t,z=null;e:for(;;){for(var N;_!==n||s!==0&&_.nodeType!==3||(y=f+s),_!==r||i!==0&&_.nodeType!==3||(T=f+i),_.nodeType===3&&(f+=_.nodeValue.length),(N=_.firstChild)!==null;)z=_,_=N;for(;;){if(_===t)break e;if(z===n&&++D===s&&(y=f),z===r&&++w===i&&(T=f),(N=_.nextSibling)!==null)break;_=z,z=_.parentNode}_=N}n=y===-1||T===-1?null:{start:y,end:T}}else n=null}n=n||{start:0,end:0}}else n=null;for(Sr={focusedElem:t,selectionRange:n},Us=!1,Wt=e;Wt!==null;)if(e=Wt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Wt=t;else for(;Wt!==null;){switch(e=Wt,r=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n title"))),ae(r,i,n),r[It]=t,Pt(r),i=r;break t;case"link":var f=Km("link","href",s).get(i+(n.href||""));if(f){for(var y=0;yDt&&(f=Dt,Dt=nt,nt=f);var M=Wf(y,nt),A=Wf(y,Dt);if(M&&A&&(N.rangeCount!==1||N.anchorNode!==M.node||N.anchorOffset!==M.offset||N.focusNode!==A.node||N.focusOffset!==A.offset)){var j=_.createRange();j.setStart(M.node,M.offset),N.removeAllRanges(),nt>Dt?(N.addRange(j),N.extend(A.node,A.offset)):(j.setEnd(A.node,A.offset),N.addRange(j))}}}}for(_=[],N=y;N=N.parentNode;)N.nodeType===1&&_.push({element:N,left:N.scrollLeft,top:N.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<_.length;y++){var V=_[y];V.element.scrollLeft=V.left,V.element.scrollTop=V.top}}Us=!!br,Sr=br=null}finally{St=s,Q.p=i,O.T=n}}t.current=e,Jt=2}}function mm(){if(Jt===2){Jt=0;var t=Un,e=ti,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=O.T,O.T=null;var i=Q.p;Q.p=2;var s=St;St|=4;try{Gh(t,e.alternate,e)}finally{St=s,Q.p=i,O.T=n}}Jt=3}}function pm(){if(Jt===4||Jt===3){Jt=0,Og();var t=Un,e=ti,n=xn,i=em;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Jt=5:(Jt=0,ti=Un=null,ym(t,t.pendingLanes));var s=t.pendingLanes;if(s===0&&(Bn=null),jo(n),e=e.stateNode,be&&typeof be.onCommitFiberRoot=="function")try{be.onCommitFiberRoot(vi,e,void 0,(e.current.flags&128)===128)}catch{}if(i!==null){e=O.T,s=Q.p,Q.p=2,O.T=null;try{for(var r=t.onRecoverableError,f=0;fn?32:n,O.T=null,n=sr,sr=null;var r=Un,f=xn;if(Jt=0,ti=Un=null,xn=0,(St&6)!==0)throw Error(u(331));var y=St;if(St|=4,$h(r.current),Fh(r,r.current,f,n),St=y,tl(0,!1),be&&typeof be.onPostCommitFiberRoot=="function")try{be.onPostCommitFiberRoot(vi,r)}catch{}return!0}finally{Q.p=s,O.T=i,ym(t,e)}}function vm(t,e,n){e=we(n,e),e=Hu(t.stateNode,e,2),t=Nn(t,e,2),t!==null&&(bi(t,2),We(t))}function Mt(t,e,n){if(t.tag===3)vm(t,t,n);else for(;e!==null;){if(e.tag===3){vm(e,t,n);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Bn===null||!Bn.has(i))){t=we(n,t),n=xh(2),i=Nn(e,n,2),i!==null&&(bh(n,i,e,t),bi(i,2),We(i));break}}e=e.return}}function cr(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new i1;var s=new Set;i.set(e,s)}else s=i.get(e),s===void 0&&(s=new Set,i.set(e,s));s.has(n)||(nr=!0,s.add(n),t=r1.bind(null,t,e,n),e.then(t,t))}function r1(t,e,n){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,zt===t&&(ht&n)===n&&(Bt===4||Bt===3&&(ht&62914560)===ht&&300>xe()-xs?(St&2)===0&&ei(t,0):ar|=n,Ia===ht&&(Ia=0)),We(t)}function xm(t,e){e===0&&(e=hf()),t=la(t,e),t!==null&&(bi(t,e),We(t))}function c1(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),xm(t,n)}function f1(t,e){var n=0;switch(t.tag){case 31:case 13:var i=t.stateNode,s=t.memoizedState;s!==null&&(n=s.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(u(314))}i!==null&&i.delete(e),xm(t,n)}function d1(t,e){return Ao(t,e)}var Cs=null,ai=null,fr=!1,js=!1,dr=!1,Hn=0;function We(t){t!==ai&&t.next===null&&(ai===null?Cs=ai=t:ai=ai.next=t),js=!0,fr||(fr=!0,m1())}function tl(t,e){if(!dr&&js){dr=!0;do for(var n=!1,i=Cs;i!==null;){if(t!==0){var s=i.pendingLanes;if(s===0)var r=0;else{var f=i.suspendedLanes,y=i.pingedLanes;r=(1<<31-Se(42|t)+1)-1,r&=s&~(f&~y),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,Am(i,r))}else r=ht,r=Rl(i,i===zt?r:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(r&3)===0||xi(i,r)||(n=!0,Am(i,r));i=i.next}while(n);dr=!1}}function h1(){bm()}function bm(){js=fr=!1;var t=0;Hn!==0&&E1()&&(t=Hn);for(var e=xe(),n=null,i=Cs;i!==null;){var s=i.next,r=Sm(i,e);r===0?(i.next=null,n===null?Cs=s:n.next=s,s===null&&(ai=n)):(n=i,(t!==0||(r&3)!==0)&&(js=!0)),i=s}Jt!==0&&Jt!==5||tl(t),Hn!==0&&(Hn=0)}function Sm(t,e){for(var n=t.suspendedLanes,i=t.pingedLanes,s=t.expirationTimes,r=t.pendingLanes&-62914561;0y)break;var w=T.transferSize,_=T.initiatorType;w&&Rm(_)&&(T=T.responseEnd,f+=w*(T"u"?null:document;function Xm(t,e,n){var i=ii;if(i&&typeof e=="string"&&e){var s=Re(e);s='link[rel="'+t+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),Gm.has(s)||(Gm.add(s),t={rel:t,crossOrigin:n,href:e},i.querySelector(s)===null&&(e=i.createElement("link"),ae(e,"link",t),Pt(e),i.head.appendChild(e)))}}function w1(t){bn.D(t),Xm("dns-prefetch",t,null)}function V1(t,e){bn.C(t,e),Xm("preconnect",t,e)}function _1(t,e,n){bn.L(t,e,n);var i=ii;if(i&&t&&e){var s='link[rel="preload"][as="'+Re(e)+'"]';e==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+Re(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+Re(n.imageSizes)+'"]')):s+='[href="'+Re(t)+'"]';var r=s;switch(e){case"style":r=li(t);break;case"script":r=si(t)}He.has(r)||(t=b({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),He.set(r,t),i.querySelector(s)!==null||e==="style"&&i.querySelector(il(r))||e==="script"&&i.querySelector(ll(r))||(e=i.createElement("link"),ae(e,"link",t),Pt(e),i.head.appendChild(e)))}}function B1(t,e){bn.m(t,e);var n=ii;if(n&&t){var i=e&&typeof e.as=="string"?e.as:"script",s='link[rel="modulepreload"][as="'+Re(i)+'"][href="'+Re(t)+'"]',r=s;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=si(t)}if(!He.has(r)&&(t=b({rel:"modulepreload",href:t},e),He.set(r,t),n.querySelector(s)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ll(r)))return}i=n.createElement("link"),ae(i,"link",t),Pt(i),n.head.appendChild(i)}}}function U1(t,e,n){bn.S(t,e,n);var i=ii;if(i&&t){var s=ja(i).hoistableStyles,r=li(t);e=e||"default";var f=s.get(r);if(!f){var y={loading:0,preload:null};if(f=i.querySelector(il(r)))y.loading=5;else{t=b({rel:"stylesheet",href:t,"data-precedence":e},n),(n=He.get(r))&&Dr(t,n);var T=f=i.createElement("link");Pt(T),ae(T,"link",t),T._p=new Promise(function(D,w){T.onload=D,T.onerror=w}),T.addEventListener("load",function(){y.loading|=1}),T.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Os(f,e,i)}f={type:"stylesheet",instance:f,count:1,state:y},s.set(r,f)}}}function L1(t,e){bn.X(t,e);var n=ii;if(n&&t){var i=ja(n).hoistableScripts,s=si(t),r=i.get(s);r||(r=n.querySelector(ll(s)),r||(t=b({src:t,async:!0},e),(e=He.get(s))&&zr(t,e),r=n.createElement("script"),Pt(r),ae(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},i.set(s,r))}}function H1(t,e){bn.M(t,e);var n=ii;if(n&&t){var i=ja(n).hoistableScripts,s=si(t),r=i.get(s);r||(r=n.querySelector(ll(s)),r||(t=b({src:t,async:!0,type:"module"},e),(e=He.get(s))&&zr(t,e),r=n.createElement("script"),Pt(r),ae(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},i.set(s,r))}}function Qm(t,e,n,i){var s=(s=ct.current)?Rs(s):null;if(!s)throw Error(u(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=li(n.href),n=ja(s).hoistableStyles,i=n.get(e),i||(i={type:"style",instance:null,count:0,state:null},n.set(e,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=li(n.href);var r=ja(s).hoistableStyles,f=r.get(t);if(f||(s=s.ownerDocument||s,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(t,f),(r=s.querySelector(il(t)))&&!r._p&&(f.instance=r,f.state.loading=5),He.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},He.set(t,n),r||q1(s,t,n,f.state))),e&&i===null)throw Error(u(528,""));return f}if(e&&i!==null)throw Error(u(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=si(n),n=ja(s).hoistableScripts,i=n.get(e),i||(i={type:"script",instance:null,count:0,state:null},n.set(e,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,t))}}function li(t){return'href="'+Re(t)+'"'}function il(t){return'link[rel="stylesheet"]['+t+"]"}function Zm(t){return b({},t,{"data-precedence":t.precedence,precedence:null})}function q1(t,e,n,i){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?i.loading=1:(e=t.createElement("link"),i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2}),ae(e,"link",n),Pt(e),t.head.appendChild(e))}function si(t){return'[src="'+Re(t)+'"]'}function ll(t){return"script[async]"+t}function km(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+Re(n.href)+'"]');if(i)return e.instance=i,Pt(i),i;var s=b({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),Pt(i),ae(i,"style",s),Os(i,n.precedence,t),e.instance=i;case"stylesheet":s=li(n.href);var r=t.querySelector(il(s));if(r)return e.state.loading|=4,e.instance=r,Pt(r),r;i=Zm(n),(s=He.get(s))&&Dr(i,s),r=(t.ownerDocument||t).createElement("link"),Pt(r);var f=r;return f._p=new Promise(function(y,T){f.onload=y,f.onerror=T}),ae(r,"link",i),e.state.loading|=4,Os(r,n.precedence,t),e.instance=r;case"script":return r=si(n.src),(s=t.querySelector(ll(r)))?(e.instance=s,Pt(s),s):(i=n,(s=He.get(r))&&(i=b({},n),zr(i,s)),t=t.ownerDocument||t,s=t.createElement("script"),Pt(s),ae(s,"link",i),t.head.appendChild(s),e.instance=s);case"void":return null;default:throw Error(u(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(i=e.instance,e.state.loading|=4,Os(i,n.precedence,t));return e.instance}function Os(t,e,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=i.length?i[i.length-1]:null,r=s,f=0;f title"):null)}function Y1(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Fm(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function G1(t,e,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var s=li(i.href),r=e.querySelector(il(s));if(r){e=r._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Vs.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=r,Pt(r);return}r=e.ownerDocument||e,i=Zm(i),(s=He.get(s))&&Dr(i,s),r=r.createElement("link"),Pt(r);var f=r;f._p=new Promise(function(y,T){f.onload=y,f.onerror=T}),ae(r,"link",i),n.instance=r}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Vs.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Nr=0;function X1(t,e){return t.stylesheets&&t.count===0&&Bs(t,t.stylesheets),0Nr?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(s)}}:null}function Vs(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Bs(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var _s=null;function Bs(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,_s=new Map,e.forEach(Q1,t),_s=null,Vs.call(t))}function Q1(t,e){if(!(e.state.loading&4)){var n=_s.get(t);if(n)var i=n.get(null);else{n=new Map,_s.set(t,n);for(var s=t.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(l){console.error(l)}}return a(),Hr.exports=sx(),Hr.exports}var ux=ox();/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const rx=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),cx=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,o,u)=>u?u.toUpperCase():o.toLowerCase()),xp=a=>{const l=cx(a);return l.charAt(0).toUpperCase()+l.slice(1)},B0=(...a)=>a.filter((l,o,u)=>!!l&&l.trim()!==""&&u.indexOf(l)===o).join(" ").trim(),fx=a=>{for(const l in a)if(l.startsWith("aria-")||l==="role"||l==="title")return!0};/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var dx={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const hx=Y.forwardRef(({color:a="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:c="",children:h,iconNode:d,...m},g)=>Y.createElement("svg",{ref:g,...dx,width:l,height:l,stroke:a,strokeWidth:u?Number(o)*24/Number(l):o,className:B0("lucide",c),...!h&&!fx(m)&&{"aria-hidden":"true"},...m},[...d.map(([p,x])=>Y.createElement(p,x)),...Array.isArray(h)?h:[h]]));/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Tt=(a,l)=>{const o=Y.forwardRef(({className:u,...c},h)=>Y.createElement(hx,{ref:h,iconNode:l,className:B0(`lucide-${rx(xp(a))}`,`lucide-${a}`,u),...c}));return o.displayName=xp(a),o};/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const mx=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],U0=Tt("arrow-right",mx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const px=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],yx=Tt("award",px);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const gx=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],vx=Tt("briefcase",gx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const xx=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],bx=Tt("building-2",xx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Sx=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],Tx=Tt("car",Sx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ax=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],L0=Tt("circle-check-big",Ax);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ex=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Mx=Tt("circle-check",Ex);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Cx=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],H0=Tt("clock",Cx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const jx=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],Dx=Tt("coffee",jx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const zx=[["path",{d:"M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762",key:"17lmqv"}]],Nx=Tt("heart-handshake",zx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Rx=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],q0=Tt("instagram",Rx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ox=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],wx=Tt("leaf",Ox);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vx=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Y0=Tt("mail",Vx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const _x=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Fn=Tt("map-pin",_x);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Bx=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Ux=Tt("menu",Bx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Lx=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],ao=Tt("message-circle",Lx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hx=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Rc=Tt("phone",Hx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const qx=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],Yx=Tt("quote",qx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Gx=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Xx=Tt("send",Gx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Qx=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Zx=Tt("settings",Qx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const kx=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Kx=Tt("shield-check",kx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Jx=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Fx=Tt("shield",Jx);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Px=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Wx=Tt("sparkles",Px);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $x=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ix=Tt("star",$x);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const t2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],e2=Tt("target",t2);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const n2=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],a2=Tt("truck",n2);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const i2=[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],l2=Tt("user-check",i2);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const s2=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],o2=Tt("users",s2);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const u2=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],r2=Tt("wrench",u2);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const c2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],lc=Tt("x",c2);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const f2=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],G0=Tt("zap",f2),Oc=Y.createContext({});function wc(a){const l=Y.useRef(null);return l.current===null&&(l.current=a()),l.current}const d2=typeof window<"u",X0=d2?Y.useLayoutEffect:Y.useEffect,mo=Y.createContext(null);function Vc(a,l){a.indexOf(l)===-1&&a.push(l)}function io(a,l){const o=a.indexOf(l);o>-1&&a.splice(o,1)}const en=(a,l,o)=>o>l?l:o{};const Pn={},Q0=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a);function Z0(a){return typeof a=="object"&&a!==null}const k0=a=>/^0[^.\s]+$/u.test(a);function K0(a){let l;return()=>(l===void 0&&(l=a()),l)}const Ye=a=>a,h2=(a,l)=>o=>l(a(o)),Tl=(...a)=>a.reduce(h2),vl=(a,l,o)=>{const u=l-a;return u===0?1:(o-a)/u};class Bc{constructor(){this.subscriptions=[]}add(l){return Vc(this.subscriptions,l),()=>io(this.subscriptions,l)}notify(l,o,u){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](l,o,u);else for(let h=0;ha*1e3,qe=a=>a/1e3;function J0(a,l){return l?a*(1e3/l):0}const F0=(a,l,o)=>(((1-3*o+3*l)*a+(3*o-6*l))*a+3*l)*a,m2=1e-7,p2=12;function y2(a,l,o,u,c){let h,d,m=0;do d=l+(o-l)/2,h=F0(d,u,c)-a,h>0?o=d:l=d;while(Math.abs(h)>m2&&++my2(h,0,1,a,o);return h=>h===0||h===1?h:F0(c(h),l,u)}const P0=a=>l=>l<=.5?a(2*l)/2:(2-a(2*(1-l)))/2,W0=a=>l=>1-a(1-l),$0=Al(.33,1.53,.69,.99),Uc=W0($0),I0=P0(Uc),ty=a=>a>=1?1:(a*=2)<1?.5*Uc(a):.5*(2-Math.pow(2,-10*(a-1))),Lc=a=>1-Math.sin(Math.acos(a)),ey=W0(Lc),ny=P0(Lc),g2=Al(.42,0,1,1),v2=Al(0,0,.58,1),ay=Al(.42,0,.58,1),x2=a=>Array.isArray(a)&&typeof a[0]!="number",iy=a=>Array.isArray(a)&&typeof a[0]=="number",b2={linear:Ye,easeIn:g2,easeInOut:ay,easeOut:v2,circIn:Lc,circInOut:ny,circOut:ey,backIn:Uc,backInOut:I0,backOut:$0,anticipate:ty},S2=a=>typeof a=="string",bp=a=>{if(iy(a)){_c(a.length===4);const[l,o,u,c]=a;return Al(l,o,u,c)}else if(S2(a))return b2[a];return a},Qs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function T2(a,l){let o=new Set,u=new Set,c=!1,h=!1;const d=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function g(x){d.has(x)&&(p.schedule(x),a()),x(m)}const p={schedule:(x,b=!1,S=!1)=>{const R=S&&c?o:u;return b&&d.add(x),R.add(x),x},cancel:x=>{u.delete(x),d.delete(x)},process:x=>{if(m=x,c){h=!0;return}c=!0;const b=o;o=u,u=b,o.forEach(g),o.clear(),c=!1,h&&(h=!1,p.process(x))}};return p}const A2=40;function ly(a,l){let o=!1,u=!0;const c={delta:0,timestamp:0,isProcessing:!1},h=()=>o=!0,d=Qs.reduce((q,X)=>(q[X]=T2(h),q),{}),{setup:m,read:g,resolveKeyframes:p,preUpdate:x,update:b,preRender:S,render:C,postRender:R}=d,U=()=>{const q=Pn.useManualTiming,X=q?c.timestamp:performance.now();o=!1,q||(c.delta=u?1e3/60:Math.max(Math.min(X-c.timestamp,A2),1)),c.timestamp=X,c.isProcessing=!0,m.process(c),g.process(c),p.process(c),x.process(c),b.process(c),S.process(c),C.process(c),R.process(c),c.isProcessing=!1,o&&l&&(u=!1,a(U))},L=()=>{o=!0,u=!0,c.isProcessing||a(U)};return{schedule:Qs.reduce((q,X)=>{const K=d[X];return q[X]=(lt,I=!1,$=!1)=>(o||L(),K.schedule(lt,I,$)),q},{}),cancel:q=>{for(let X=0;X(Fs===void 0&&re.set(ie.isProcessing||Pn.useManualTiming?ie.timestamp:performance.now()),Fs),set:a=>{Fs=a,queueMicrotask(E2)}},sy=a=>l=>typeof l=="string"&&l.startsWith(a),oy=sy("--"),M2=sy("var(--"),Hc=a=>M2(a)?C2.test(a.split("/*")[0].trim()):!1,C2=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Sp(a){return typeof a!="string"?!1:a.split("/*")[0].includes("var(--")}const mi={test:a=>typeof a=="number",parse:parseFloat,transform:a=>a},xl={...mi,transform:a=>en(0,1,a)},Zs={...mi,default:1},ml=a=>Math.round(a*1e5)/1e5,qc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function j2(a){return a==null}const D2=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yc=(a,l)=>o=>!!(typeof o=="string"&&D2.test(o)&&o.startsWith(a)||l&&!j2(o)&&Object.prototype.hasOwnProperty.call(o,l)),uy=(a,l,o)=>u=>{if(typeof u!="string")return u;const[c,h,d,m]=u.match(qc);return{[a]:parseFloat(c),[l]:parseFloat(h),[o]:parseFloat(d),alpha:m!==void 0?parseFloat(m):1}},z2=a=>en(0,255,a),Qr={...mi,transform:a=>Math.round(z2(a))},ba={test:Yc("rgb","red"),parse:uy("red","green","blue"),transform:({red:a,green:l,blue:o,alpha:u=1})=>"rgba("+Qr.transform(a)+", "+Qr.transform(l)+", "+Qr.transform(o)+", "+ml(xl.transform(u))+")"};function N2(a){let l="",o="",u="",c="";return a.length>5?(l=a.substring(1,3),o=a.substring(3,5),u=a.substring(5,7),c=a.substring(7,9)):(l=a.substring(1,2),o=a.substring(2,3),u=a.substring(3,4),c=a.substring(4,5),l+=l,o+=o,u+=u,c+=c),{red:parseInt(l,16),green:parseInt(o,16),blue:parseInt(u,16),alpha:c?parseInt(c,16)/255:1}}const sc={test:Yc("#"),parse:N2,transform:ba.transform},El=a=>({test:l=>typeof l=="string"&&l.endsWith(a)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${a}`}),kn=El("deg"),tn=El("%"),F=El("px"),R2=El("vh"),O2=El("vw"),Tp={...tn,parse:a=>tn.parse(a)/100,transform:a=>tn.transform(a*100)},ri={test:Yc("hsl","hue"),parse:uy("hue","saturation","lightness"),transform:({hue:a,saturation:l,lightness:o,alpha:u=1})=>"hsla("+Math.round(a)+", "+tn.transform(ml(l))+", "+tn.transform(ml(o))+", "+ml(xl.transform(u))+")"},Kt={test:a=>ba.test(a)||sc.test(a)||ri.test(a),parse:a=>ba.test(a)?ba.parse(a):ri.test(a)?ri.parse(a):sc.parse(a),transform:a=>typeof a=="string"?a:a.hasOwnProperty("red")?ba.transform(a):ri.transform(a),getAnimatableNone:a=>{const l=Kt.parse(a);return l.alpha=0,Kt.transform(l)}},w2=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function V2(a){var l,o;return isNaN(a)&&typeof a=="string"&&(((l=a.match(qc))==null?void 0:l.length)||0)+(((o=a.match(w2))==null?void 0:o.length)||0)>0}const ry="number",cy="color",_2="var",B2="var(",Ap="${}",U2=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function di(a){const l=a.toString(),o=[],u={color:[],number:[],var:[]},c=[];let h=0;const m=l.replace(U2,g=>(Kt.test(g)?(u.color.push(h),c.push(cy),o.push(Kt.parse(g))):g.startsWith(B2)?(u.var.push(h),c.push(_2),o.push(g)):(u.number.push(h),c.push(ry),o.push(parseFloat(g))),++h,Ap)).split(Ap);return{values:o,split:m,indexes:u,types:c}}function L2(a){return di(a).values}function fy({split:a,types:l}){const o=a.length;return u=>{let c="";for(let h=0;htypeof a=="number"?0:Kt.test(a)?Kt.getAnimatableNone(a):a,Y2=(a,l)=>typeof a=="number"?l!=null&&l.trim().endsWith("/")?a:0:q2(a);function G2(a){const l=di(a);return fy(l)(l.values.map((u,c)=>Y2(u,l.split[c])))}const Ke={test:V2,parse:L2,createTransformer:H2,getAnimatableNone:G2};function Zr(a,l,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?a+(l-a)*6*o:o<1/2?l:o<2/3?a+(l-a)*(2/3-o)*6:a}function X2({hue:a,saturation:l,lightness:o,alpha:u}){a/=360,l/=100,o/=100;let c=0,h=0,d=0;if(!l)c=h=d=o;else{const m=o<.5?o*(1+l):o+l-o*l,g=2*o-m;c=Zr(g,m,a+1/3),h=Zr(g,m,a),d=Zr(g,m,a-1/3)}return{red:Math.round(c*255),green:Math.round(h*255),blue:Math.round(d*255),alpha:u}}function lo(a,l){return o=>o>0?l:a}const wt=(a,l,o)=>a+(l-a)*o,kr=(a,l,o)=>{const u=a*a,c=o*(l*l-u)+u;return c<0?0:Math.sqrt(c)},Q2=[sc,ba,ri],Z2=a=>Q2.find(l=>l.test(a));function Ep(a){const l=Z2(a);if(!l)return!1;let o=l.parse(a);return l===ri&&(o=X2(o)),o}const Mp=(a,l)=>{const o=Ep(a),u=Ep(l);if(!o||!u)return lo(a,l);const c={...o};return h=>(c.red=kr(o.red,u.red,h),c.green=kr(o.green,u.green,h),c.blue=kr(o.blue,u.blue,h),c.alpha=wt(o.alpha,u.alpha,h),ba.transform(c))},oc=new Set(["none","hidden"]);function k2(a,l){return oc.has(a)?o=>o<=0?a:l:o=>o>=1?l:a}function K2(a,l){return o=>wt(a,l,o)}function Gc(a){return typeof a=="number"?K2:typeof a=="string"?Hc(a)?lo:Kt.test(a)?Mp:P2:Array.isArray(a)?dy:typeof a=="object"?Kt.test(a)?Mp:J2:lo}function dy(a,l){const o=[...a],u=o.length,c=a.map((h,d)=>Gc(h)(h,l[d]));return h=>{for(let d=0;d{for(const h in u)o[h]=u[h](c);return o}}function F2(a,l){const o=[],u={color:0,var:0,number:0};for(let c=0;c{const o=Ke.createTransformer(l),u=di(a),c=di(l);return u.indexes.var.length===c.indexes.var.length&&u.indexes.color.length===c.indexes.color.length&&u.indexes.number.length>=c.indexes.number.length?oc.has(a)&&!c.values.length||oc.has(l)&&!u.values.length?k2(a,l):Tl(dy(F2(u,c),c.values),o):lo(a,l)};function hy(a,l,o){return typeof a=="number"&&typeof l=="number"&&typeof o=="number"?wt(a,l,o):Gc(a)(a,l)}const W2=a=>{const l=({timestamp:o})=>a(o);return{start:(o=!0)=>Nt.update(l,o),stop:()=>Wn(l),now:()=>ie.isProcessing?ie.timestamp:re.now()}},my=(a,l,o=10)=>{let u="";const c=Math.max(Math.round(l/o),2);for(let h=0;h=so?1/0:l}function $2(a,l=100,o){const u=o({...a,keyframes:[0,l]}),c=Math.min(Xc(u),so);return{type:"keyframes",ease:h=>u.next(c*h).value/l,duration:qe(c)}}const Ut={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function uc(a,l){return a*Math.sqrt(1-l*l)}const I2=12;function tb(a,l,o){let u=o;for(let c=1;c{const x=p*d,b=x*a,S=x-o,C=uc(p,d),R=Math.exp(-b);return Kr-S/C*R},h=p=>{const b=p*d*a,S=b*o+o,C=Math.pow(d,2)*Math.pow(p,2)*a,R=Math.exp(-b),U=uc(Math.pow(p,2),d);return(-c(p)+Kr>0?-1:1)*((S-C)*R)/U}):(c=p=>{const x=Math.exp(-p*a),b=(p-o)*a+1;return-Kr+x*b},h=p=>{const x=Math.exp(-p*a),b=(o-p)*(a*a);return x*b});const m=5/a,g=tb(c,h,m);if(a=ze(a),isNaN(g))return{stiffness:Ut.stiffness,damping:Ut.damping,duration:a};{const p=Math.pow(g,2)*u;return{stiffness:p,damping:d*2*Math.sqrt(u*p),duration:a}}}const nb=["duration","bounce"],ab=["stiffness","damping","mass"];function Cp(a,l){return l.some(o=>a[o]!==void 0)}function ib(a){let l={velocity:Ut.velocity,stiffness:Ut.stiffness,damping:Ut.damping,mass:Ut.mass,isResolvedFromDuration:!1,...a};if(!Cp(a,ab)&&Cp(a,nb))if(l.velocity=0,a.visualDuration){const o=a.visualDuration,u=2*Math.PI/(o*1.2),c=u*u,h=2*en(.05,1,1-(a.bounce||0))*Math.sqrt(c);l={...l,mass:Ut.mass,stiffness:c,damping:h}}else{const o=eb({...a,velocity:0});l={...l,...o,mass:Ut.mass},l.isResolvedFromDuration=!0}return l}function oo(a=Ut.visualDuration,l=Ut.bounce){const o=typeof a!="object"?{visualDuration:a,keyframes:[0,1],bounce:l}:a;let{restSpeed:u,restDelta:c}=o;const h=o.keyframes[0],d=o.keyframes[o.keyframes.length-1],m={done:!1,value:h},{stiffness:g,damping:p,mass:x,duration:b,velocity:S,isResolvedFromDuration:C}=ib({...o,velocity:-qe(o.velocity||0)}),R=S||0,U=p/(2*Math.sqrt(g*x)),L=d-h,H=qe(Math.sqrt(g/x)),G=Math.abs(L)<5;u||(u=G?Ut.restSpeed.granular:Ut.restSpeed.default),c||(c=G?Ut.restDelta.granular:Ut.restDelta.default);let q,X,K,lt,I,$;if(U<1)K=uc(H,U),lt=(R+U*H*L)/K,q=tt=>{const pt=Math.exp(-U*H*tt);return d-pt*(lt*Math.sin(K*tt)+L*Math.cos(K*tt))},I=U*H*lt+L*K,$=U*H*L-lt*K,X=tt=>Math.exp(-U*H*tt)*(I*Math.sin(K*tt)+$*Math.cos(K*tt));else if(U===1){q=pt=>d-Math.exp(-H*pt)*(L+(R+H*L)*pt);const tt=R+H*L;X=pt=>Math.exp(-H*pt)*(H*tt*pt-R)}else{const tt=H*Math.sqrt(U*U-1);q=Gt=>{const Lt=Math.exp(-U*H*Gt),O=Math.min(tt*Gt,300);return d-Lt*((R+U*H*L)*Math.sinh(O)+tt*L*Math.cosh(O))/tt};const pt=(R+U*H*L)/tt,vt=U*H*pt-L*tt,$t=U*H*L-pt*tt;X=Gt=>{const Lt=Math.exp(-U*H*Gt),O=Math.min(tt*Gt,300);return Lt*(vt*Math.sinh(O)+$t*Math.cosh(O))}}const at={calculatedDuration:C&&b||null,velocity:tt=>ze(X(tt)),next:tt=>{if(!C&&U<1){const vt=Math.exp(-U*H*tt),$t=Math.sin(K*tt),Gt=Math.cos(K*tt),Lt=d-vt*(lt*$t+L*Gt),O=ze(vt*(I*$t+$*Gt));return m.done=Math.abs(O)<=u&&Math.abs(d-Lt)<=c,m.value=m.done?d:Lt,m}const pt=q(tt);if(C)m.done=tt>=b;else{const vt=ze(X(tt));m.done=Math.abs(vt)<=u&&Math.abs(d-pt)<=c}return m.value=m.done?d:pt,m},toString:()=>{const tt=Math.min(Xc(at),so),pt=my(vt=>at.next(tt*vt).value,tt,30);return tt+"ms "+pt},toTransition:()=>{}};return at}oo.applyToOptions=a=>{const l=$2(a,100,oo);return a.ease=l.ease,a.duration=ze(l.duration),a.type="keyframes",a};const lb=5;function py(a,l,o){const u=Math.max(l-lb,0);return J0(o-a(u),l-u)}function rc({keyframes:a,velocity:l=0,power:o=.8,timeConstant:u=325,bounceDamping:c=10,bounceStiffness:h=500,modifyTarget:d,min:m,max:g,restDelta:p=.5,restSpeed:x}){const b=a[0],S={done:!1,value:b},C=$=>m!==void 0&&$g,R=$=>m===void 0?g:g===void 0||Math.abs(m-$)-U*Math.exp(-$/u),q=$=>H+G($),X=$=>{const at=G($),tt=q($);S.done=Math.abs(at)<=p,S.value=S.done?H:tt};let K,lt;const I=$=>{C(S.value)&&(K=$,lt=oo({keyframes:[S.value,R(S.value)],velocity:py(q,$,S.value),damping:c,stiffness:h,restDelta:p,restSpeed:x}))};return I(0),{calculatedDuration:null,next:$=>{let at=!1;return!lt&&K===void 0&&(at=!0,X($),I($)),K!==void 0&&$>=K?lt.next($-K):(!at&&X($),S)}}}function sb(a,l,o){const u=[],c=o||Pn.mix||hy,h=a.length-1;for(let d=0;dl[0];if(h===2&&l[0]===l[1])return()=>l[1];const d=a[0]===a[1];a[0]>a[h-1]&&(a=[...a].reverse(),l=[...l].reverse());const m=sb(l,u,c),g=m.length,p=x=>{if(d&&x1)for(;bp(en(a[0],a[h-1],x)):p}function ub(a,l){const o=a[a.length-1];for(let u=1;u<=l;u++){const c=vl(0,l,u);a.push(wt(o,1,c))}}function rb(a){const l=[0];return ub(l,a.length-1),l}function cb(a,l){return a.map(o=>o*l)}function fb(a,l){return a.map(()=>l||ay).splice(0,a.length-1)}function pl({duration:a=300,keyframes:l,times:o,ease:u="easeInOut"}){const c=x2(u)?u.map(bp):bp(u),h={done:!1,value:l[0]},d=cb(o&&o.length===l.length?o:rb(l),a),m=ob(d,l,{ease:Array.isArray(c)?c:fb(l,c)});return{calculatedDuration:a,next:g=>(h.value=m(g),h.done=g>=a,h)}}const db=a=>a!==null;function po(a,{repeat:l,repeatType:o="loop"},u,c=1){const h=a.filter(db),m=c<0||l&&o!=="loop"&&l%2===1?0:h.length-1;return!m||u===void 0?h[m]:u}const hb={decay:rc,inertia:rc,tween:pl,keyframes:pl,spring:oo};function yy(a){typeof a.type=="string"&&(a.type=hb[a.type])}class Qc{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(l=>{this.resolve=l})}notifyFinished(){this.resolve()}then(l,o){return this.finished.then(l,o)}}const mb=a=>a/100;class uo extends Qc{constructor(l){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var u,c;const{motionValue:o}=this.options;o&&o.updatedAt!==re.now()&&this.tick(re.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(c=(u=this.options).onStop)==null||c.call(u))},this.options=l,this.initAnimation(),this.play(),l.autoplay===!1&&this.pause()}initAnimation(){const{options:l}=this;yy(l);const{type:o=pl,repeat:u=0,repeatDelay:c=0,repeatType:h,velocity:d=0}=l;let{keyframes:m}=l;const g=o||pl;g!==pl&&typeof m[0]!="number"&&(this.mixKeyframes=Tl(mb,hy(m[0],m[1])),m=[0,100]);const p=g({...l,keyframes:m});h==="mirror"&&(this.mirroredGenerator=g({...l,keyframes:[...m].reverse(),velocity:-d})),p.calculatedDuration===null&&(p.calculatedDuration=Xc(p));const{calculatedDuration:x}=p;this.calculatedDuration=x,this.resolvedDuration=x+c,this.totalDuration=this.resolvedDuration*(u+1)-c,this.generator=p}updateTime(l){const o=Math.round(l-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=o}tick(l,o=!1){const{generator:u,totalDuration:c,mixKeyframes:h,mirroredGenerator:d,resolvedDuration:m,calculatedDuration:g}=this;if(this.startTime===null)return u.next(0);const{delay:p=0,keyframes:x,repeat:b,repeatType:S,repeatDelay:C,type:R,onUpdate:U,finalKeyframe:L}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-c/this.speed,this.startTime)),o?this.currentTime=l:this.updateTime(l);const H=this.currentTime-p*(this.playbackSpeed>=0?1:-1),G=this.playbackSpeed>=0?H<0:H>c;this.currentTime=Math.max(H,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let q=this.currentTime,X=u;if(b){const $=Math.min(this.currentTime,c)/m;let at=Math.floor($),tt=$%1;!tt&&$>=1&&(tt=1),tt===1&&at--,at=Math.min(at,b+1),!!(at%2)&&(S==="reverse"?(tt=1-tt,C&&(tt-=C/m)):S==="mirror"&&(X=d)),q=en(0,1,tt)*m}let K;G?(this.delayState.value=x[0],K=this.delayState):K=X.next(q),h&&!G&&(K.value=h(K.value));let{done:lt}=K;!G&&g!==null&&(lt=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&<);return I&&R!==rc&&(K.value=po(x,this.options,L,this.speed)),U&&U(K.value),I&&this.finish(),K}then(l,o){return this.finished.then(l,o)}get duration(){return qe(this.calculatedDuration)}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+qe(l)}get time(){return qe(this.currentTime)}set time(l){l=ze(l),this.currentTime=l,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=l,this.tick(l))}getGeneratorVelocity(){const l=this.currentTime;if(l<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(l);const o=this.generator.next(l).value;return py(u=>this.generator.next(u).value,l,o)}get speed(){return this.playbackSpeed}set speed(l){const o=this.playbackSpeed!==l;o&&this.driver&&this.updateTime(re.now()),this.playbackSpeed=l,o&&this.driver&&(this.time=qe(this.currentTime))}play(){var c,h;if(this.isStopped)return;const{driver:l=W2,startTime:o}=this.options;this.driver||(this.driver=l(d=>this.tick(d))),(h=(c=this.options).onPlay)==null||h.call(c);const u=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=u):this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime||(this.startTime=o??u),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(re.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var l,o;this.notifyFinished(),this.teardown(),this.state="finished",(o=(l=this.options).onComplete)==null||o.call(l)}cancel(){var l,o;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(o=(l=this.options).onCancel)==null||o.call(l)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(l){return this.startTime=0,this.tick(l,!0)}attachTimeline(l){var o;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(o=this.driver)==null||o.stop(),l.observe(this)}}function pb(a){for(let l=1;la*180/Math.PI,cc=a=>{const l=Sa(Math.atan2(a[1],a[0]));return fc(l)},yb={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:cc,rotateZ:cc,skewX:a=>Sa(Math.atan(a[1])),skewY:a=>Sa(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},fc=a=>(a=a%360,a<0&&(a+=360),a),jp=cc,Dp=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),zp=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),gb={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dp,scaleY:zp,scale:a=>(Dp(a)+zp(a))/2,rotateX:a=>fc(Sa(Math.atan2(a[6],a[5]))),rotateY:a=>fc(Sa(Math.atan2(-a[2],a[0]))),rotateZ:jp,rotate:jp,skewX:a=>Sa(Math.atan(a[4])),skewY:a=>Sa(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function dc(a){return a.includes("scale")?1:0}function hc(a,l){if(!a||a==="none")return dc(l);const o=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let u,c;if(o)u=gb,c=o;else{const m=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);u=yb,c=m}if(!c)return dc(l);const h=u[l],d=c[1].split(",").map(xb);return typeof h=="function"?h(d):d[h]}const vb=(a,l)=>{const{transform:o="none"}=getComputedStyle(a);return hc(o,l)};function xb(a){return parseFloat(a.trim())}const pi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],yi=new Set(pi),Np=a=>a===mi||a===F,bb=new Set(["x","y","z"]),Sb=pi.filter(a=>!bb.has(a));function Tb(a){const l=[];return Sb.forEach(o=>{const u=a.getValue(o);u!==void 0&&(l.push([o,u.get()]),u.set(o.startsWith("scale")?1:0))}),l}const Jn={width:({x:a},{paddingLeft:l="0",paddingRight:o="0",boxSizing:u})=>{const c=a.max-a.min;return u==="border-box"?c:c-parseFloat(l)-parseFloat(o)},height:({y:a},{paddingTop:l="0",paddingBottom:o="0",boxSizing:u})=>{const c=a.max-a.min;return u==="border-box"?c:c-parseFloat(l)-parseFloat(o)},top:(a,{top:l})=>parseFloat(l),left:(a,{left:l})=>parseFloat(l),bottom:({y:a},{top:l})=>parseFloat(l)+(a.max-a.min),right:({x:a},{left:l})=>parseFloat(l)+(a.max-a.min),x:(a,{transform:l})=>hc(l,"x"),y:(a,{transform:l})=>hc(l,"y")};Jn.translateX=Jn.x;Jn.translateY=Jn.y;const Ta=new Set;let mc=!1,pc=!1,yc=!1;function gy(){if(pc){const a=Array.from(Ta).filter(u=>u.needsMeasurement),l=new Set(a.map(u=>u.element)),o=new Map;l.forEach(u=>{const c=Tb(u);c.length&&(o.set(u,c),u.render())}),a.forEach(u=>u.measureInitialState()),l.forEach(u=>{u.render();const c=o.get(u);c&&c.forEach(([h,d])=>{var m;(m=u.getValue(h))==null||m.set(d)})}),a.forEach(u=>u.measureEndState()),a.forEach(u=>{u.suspendedScrollY!==void 0&&window.scrollTo(0,u.suspendedScrollY)})}pc=!1,mc=!1,Ta.forEach(a=>a.complete(yc)),Ta.clear()}function vy(){Ta.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(pc=!0)})}function Ab(){yc=!0,vy(),gy(),yc=!1}class Zc{constructor(l,o,u,c,h,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...l],this.onComplete=o,this.name=u,this.motionValue=c,this.element=h,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(Ta.add(this),mc||(mc=!0,Nt.read(vy),Nt.resolveKeyframes(gy))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:o,element:u,motionValue:c}=this;if(l[0]===null){const h=c==null?void 0:c.get(),d=l[l.length-1];if(h!==void 0)l[0]=h;else if(u&&o){const m=u.readValue(o,d);m!=null&&(l[0]=m)}l[0]===void 0&&(l[0]=d),c&&h===void 0&&c.set(l[0])}pb(l)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(l=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,l),Ta.delete(this)}cancel(){this.state==="scheduled"&&(Ta.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Eb=a=>a.startsWith("--");function xy(a,l,o){Eb(l)?a.style.setProperty(l,o):a.style[l]=o}const Mb={};function by(a,l){const o=K0(a);return()=>Mb[l]??o()}const Cb=by(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Sy=by(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),hl=([a,l,o,u])=>`cubic-bezier(${a}, ${l}, ${o}, ${u})`,Rp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:hl([0,.65,.55,1]),circOut:hl([.55,0,1,.45]),backIn:hl([.31,.01,.66,-.59]),backOut:hl([.33,1.53,.69,.99])};function Ty(a,l){if(a)return typeof a=="function"?Sy()?my(a,l):"ease-out":iy(a)?hl(a):Array.isArray(a)?a.map(o=>Ty(o,l)||Rp.easeOut):Rp[a]}function jb(a,l,o,{delay:u=0,duration:c=300,repeat:h=0,repeatType:d="loop",ease:m="easeOut",times:g}={},p=void 0){const x={[l]:o};g&&(x.offset=g);const b=Ty(m,c);Array.isArray(b)&&(x.easing=b);const S={delay:u,duration:c,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:h+1,direction:d==="reverse"?"alternate":"normal"};return p&&(S.pseudoElement=p),a.animate(x,S)}function Ay(a){return typeof a=="function"&&"applyToOptions"in a}function Db({type:a,...l}){return Ay(a)&&Sy()?a.applyToOptions(l):(l.duration??(l.duration=300),l.ease??(l.ease="easeOut"),l)}class Ey extends Qc{constructor(l){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!l)return;const{element:o,name:u,keyframes:c,pseudoElement:h,allowFlatten:d=!1,finalKeyframe:m,onComplete:g}=l;this.isPseudoElement=!!h,this.allowFlatten=d,this.options=l,_c(typeof l.type!="string");const p=Db(l);this.animation=jb(o,u,c,p,h),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!h){const x=po(c,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(x),xy(o,u,x),this.animation.cancel()}g==null||g(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var l,o;(o=(l=this.animation).finish)==null||o.call(l)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:l}=this;l==="idle"||l==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var o,u,c;const l=(o=this.options)==null?void 0:o.element;!this.isPseudoElement&&(l!=null&&l.isConnected)&&((c=(u=this.animation).commitStyles)==null||c.call(u))}get duration(){var o,u;const l=((u=(o=this.animation.effect)==null?void 0:o.getComputedTiming)==null?void 0:u.call(o).duration)||0;return qe(Number(l))}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+qe(l)}get time(){return qe(Number(this.animation.currentTime)||0)}set time(l){const o=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ze(l),o&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(l){l<0&&(this.finishedTime=null),this.animation.playbackRate=l}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(l){this.manualStartTime=this.animation.startTime=l}attachTimeline({timeline:l,rangeStart:o,rangeEnd:u,observe:c}){var h;return this.allowFlatten&&((h=this.animation.effect)==null||h.updateTiming({easing:"linear"})),this.animation.onfinish=null,l&&Cb()?(this.animation.timeline=l,o&&(this.animation.rangeStart=o),u&&(this.animation.rangeEnd=u),Ye):c(this)}}const My={anticipate:ty,backInOut:I0,circInOut:ny};function zb(a){return a in My}function Nb(a){typeof a.ease=="string"&&zb(a.ease)&&(a.ease=My[a.ease])}const Jr=10;class Rb extends Ey{constructor(l){Nb(l),yy(l),super(l),l.startTime!==void 0&&l.autoplay!==!1&&(this.startTime=l.startTime),this.options=l}updateMotionValue(l){const{motionValue:o,onUpdate:u,onComplete:c,element:h,...d}=this.options;if(!o)return;if(l!==void 0){o.set(l);return}const m=new uo({...d,autoplay:!1}),g=Math.max(Jr,re.now()-this.startTime),p=en(0,Jr,g-Jr),x=m.sample(g).value,{name:b}=this.options;h&&b&&xy(h,b,x),o.setWithVelocity(m.sample(Math.max(0,g-p)).value,x,p),m.stop()}}const Op=(a,l)=>l==="zIndex"?!1:!!(typeof a=="number"||Array.isArray(a)||typeof a=="string"&&(Ke.test(a)||a==="0")&&!a.startsWith("url("));function Ob(a){const l=a[0];if(a.length===1)return!0;for(let o=0;oObject.hasOwnProperty.call(Element.prototype,"animate"));function Lb(a){var b;const{motionValue:l,name:o,repeatDelay:u,repeatType:c,damping:h,type:d,keyframes:m}=a;if(!(((b=l==null?void 0:l.owner)==null?void 0:b.current)instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:x}=l.owner.getProps();return Ub()&&o&&(Cy.has(o)||Bb.has(o)&&_b(m))&&(o!=="transform"||!x)&&!p&&!u&&c!=="mirror"&&h!==0&&d!=="inertia"}const Hb=40;class qb extends Qc{constructor({autoplay:l=!0,delay:o=0,type:u="keyframes",repeat:c=0,repeatDelay:h=0,repeatType:d="loop",keyframes:m,name:g,motionValue:p,element:x,...b}){var R;super(),this.stop=()=>{var U,L;this._animation&&(this._animation.stop(),(U=this.stopTimeline)==null||U.call(this)),(L=this.keyframeResolver)==null||L.cancel()},this.createdAt=re.now();const S={autoplay:l,delay:o,type:u,repeat:c,repeatDelay:h,repeatType:d,name:g,motionValue:p,element:x,...b},C=(x==null?void 0:x.KeyframeResolver)||Zc;this.keyframeResolver=new C(m,(U,L,H)=>this.onKeyframesResolved(U,L,S,!H),g,p,x),(R=this.keyframeResolver)==null||R.scheduleResolve()}onKeyframesResolved(l,o,u,c){var H,G;this.keyframeResolver=void 0;const{name:h,type:d,velocity:m,delay:g,isHandoff:p,onUpdate:x}=u;this.resolvedAt=re.now();let b=!0;wb(l,h,d,m)||(b=!1,(Pn.instantAnimations||!g)&&(x==null||x(po(l,u,o))),l[0]=l[l.length-1],gc(u),u.repeat=0);const C={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>Hb?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:o,...u,keyframes:l},R=b&&!p&&Lb(C),U=(G=(H=C.motionValue)==null?void 0:H.owner)==null?void 0:G.current;let L;if(R)try{L=new Rb({...C,element:U})}catch{L=new uo(C)}else L=new uo(C);L.finished.then(()=>{this.notifyFinished()}).catch(Ye),this.pendingTimeline&&(this.stopTimeline=L.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=L}get finished(){return this._animation?this.animation.finished:this._finished}then(l,o){return this.finished.finally(l).then(()=>{})}get animation(){var l;return this._animation||((l=this.keyframeResolver)==null||l.resume(),Ab()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(l){this.animation.time=l}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(l){this.animation.speed=l}get startTime(){return this.animation.startTime}attachTimeline(l){return this._animation?this.stopTimeline=this.animation.attachTimeline(l):this.pendingTimeline=l,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var l;this._animation&&this.animation.cancel(),(l=this.keyframeResolver)==null||l.cancel()}}function jy(a,l,o,u=0,c=1){const h=Array.from(a).sort((p,x)=>p.sortNodePosition(x)).indexOf(l),d=a.size,m=(d-1)*u;return typeof o=="function"?o(h,d):c===1?h*u:m-h*u}const Yb=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Gb(a){const l=Yb.exec(a);if(!l)return[,];const[,o,u,c]=l;return[`--${o??u}`,c]}function Dy(a,l,o=1){const[u,c]=Gb(a);if(!u)return;const h=window.getComputedStyle(l).getPropertyValue(u);if(h){const d=h.trim();return Q0(d)?parseFloat(d):d}return Hc(c)?Dy(c,l,o+1):c}const Xb={type:"spring",stiffness:500,damping:25,restSpeed:10},Qb=a=>({type:"spring",stiffness:550,damping:a===0?2*Math.sqrt(550):30,restSpeed:10}),Zb={type:"keyframes",duration:.8},kb={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Kb=(a,{keyframes:l})=>l.length>2?Zb:yi.has(a)?a.startsWith("scale")?Qb(l[1]):Xb:kb;function zy(a,l){if(a!=null&&a.inherit&&l){const{inherit:o,...u}=a;return{...l,...u}}return a}function kc(a,l){const o=(a==null?void 0:a[l])??(a==null?void 0:a.default)??a;return o!==a?zy(o,a):o}const Jb=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Fb(a){for(const l in a)if(!Jb.has(l))return!0;return!1}const Kc=(a,l,o,u={},c,h)=>d=>{const m=kc(u,a)||{},g=m.delay||u.delay||0;let{elapsed:p=0}=u;p=p-ze(g);const x={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:l.getVelocity(),...m,delay:-p,onUpdate:S=>{l.set(S),m.onUpdate&&m.onUpdate(S)},onComplete:()=>{d(),m.onComplete&&m.onComplete()},name:a,motionValue:l,element:h?void 0:c};Fb(m)||Object.assign(x,Kb(a,x)),x.duration&&(x.duration=ze(x.duration)),x.repeatDelay&&(x.repeatDelay=ze(x.repeatDelay)),x.from!==void 0&&(x.keyframes[0]=x.from);let b=!1;if((x.type===!1||x.duration===0&&!x.repeatDelay)&&(gc(x),x.delay===0&&(b=!0)),(Pn.instantAnimations||Pn.skipAnimations||c!=null&&c.shouldSkipAnimations)&&(b=!0,gc(x),x.delay=0),x.allowFlatten=!m.type&&!m.ease,b&&!h&&l.get()!==void 0){const S=po(x.keyframes,m);if(S!==void 0){Nt.update(()=>{x.onUpdate(S),x.onComplete()});return}}return m.isSync?new uo(x):new qb(x)};function wp(a){const l=[{},{}];return a==null||a.values.forEach((o,u)=>{l[0][u]=o.get(),l[1][u]=o.getVelocity()}),l}function Jc(a,l,o,u){if(typeof l=="function"){const[c,h]=wp(u);l=l(o!==void 0?o:a.custom,c,h)}if(typeof l=="string"&&(l=a.variants&&a.variants[l]),typeof l=="function"){const[c,h]=wp(u);l=l(o!==void 0?o:a.custom,c,h)}return l}function Aa(a,l,o){const u=a.getProps();return Jc(u,l,o!==void 0?o:u.custom,a)}const Ny=new Set(["width","height","top","left","right","bottom",...pi]),Vp=30,Pb=a=>!isNaN(parseFloat(a));class Wb{constructor(l,o={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=u=>{var h;const c=re.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(u),this.current!==this.prev&&((h=this.events.change)==null||h.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(l),this.owner=o.owner}setCurrent(l){this.current=l,this.updatedAt=re.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=Pb(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return this.on("change",l)}on(l,o){this.events[l]||(this.events[l]=new Bc);const u=this.events[l].add(o);return l==="change"?()=>{u(),Nt.read(()=>{this.events.change.getSize()||this.stop()})}:u}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,o){this.passiveEffect=l,this.stopPassiveEffect=o}set(l){this.passiveEffect?this.passiveEffect(l,this.updateAndNotify):this.updateAndNotify(l)}setWithVelocity(l,o,u){this.set(o),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-u}jump(l,o=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var l;(l=this.events.change)==null||l.notify(this.current)}addDependent(l){this.dependents||(this.dependents=new Set),this.dependents.add(l)}removeDependent(l){this.dependents&&this.dependents.delete(l)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const l=re.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>Vp)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,Vp);return J0(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(l){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=l(o),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var l,o;(l=this.dependents)==null||l.clear(),(o=this.events.destroy)==null||o.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function hi(a,l){return new Wb(a,l)}const vc=a=>Array.isArray(a);function $b(a,l,o){a.hasValue(l)?a.getValue(l).set(o):a.addValue(l,hi(o))}function Ib(a){return vc(a)?a[a.length-1]||0:a}function tS(a,l){const o=Aa(a,l);let{transitionEnd:u={},transition:c={},...h}=o||{};h={...h,...u};for(const d in h){const m=Ib(h[d]);$b(a,d,m)}}const le=a=>!!(a&&a.getVelocity);function eS(a){return!!(le(a)&&a.add)}function xc(a,l){const o=a.getValue("willChange");if(eS(o))return o.add(l);if(!o&&Pn.WillChange){const u=new Pn.WillChange("auto");a.addValue("willChange",u),u.add(l)}}function Fc(a){return a.replace(/([A-Z])/g,l=>`-${l.toLowerCase()}`)}const nS="framerAppearId",Ry="data-"+Fc(nS);function Oy(a){return a.props[Ry]}function aS({protectedKeys:a,needsAnimating:l},o){const u=a.hasOwnProperty(o)&&l[o]!==!0;return l[o]=!1,u}function wy(a,l,{delay:o=0,transitionOverride:u,type:c}={}){let{transition:h,transitionEnd:d,...m}=l;const g=a.getDefaultTransition();h=h?zy(h,g):g;const p=h==null?void 0:h.reduceMotion;u&&(h=u);const x=[],b=c&&a.animationState&&a.animationState.getState()[c];for(const S in m){const C=a.getValue(S,a.latestValues[S]??null),R=m[S];if(R===void 0||b&&aS(b,S))continue;const U={delay:o,...kc(h||{},S)},L=C.get();if(L!==void 0&&!C.isAnimating()&&!Array.isArray(R)&&R===L&&!U.velocity){Nt.update(()=>C.set(R));continue}let H=!1;if(window.MotionHandoffAnimation){const X=Oy(a);if(X){const K=window.MotionHandoffAnimation(X,S,Nt);K!==null&&(U.startTime=K,H=!0)}}xc(a,S);const G=p??a.shouldReduceMotion;C.start(Kc(S,C,R,G&&Ny.has(S)?{type:!1}:U,a,H));const q=C.animation;q&&x.push(q)}if(d){const S=()=>Nt.update(()=>{d&&tS(a,d)});x.length?Promise.all(x).then(S):S()}return x}function bc(a,l,o={}){var g;const u=Aa(a,l,o.type==="exit"?(g=a.presenceContext)==null?void 0:g.custom:void 0);let{transition:c=a.getDefaultTransition()||{}}=u||{};o.transitionOverride&&(c=o.transitionOverride);const h=u?()=>Promise.all(wy(a,u,o)):()=>Promise.resolve(),d=a.variantChildren&&a.variantChildren.size?(p=0)=>{const{delayChildren:x=0,staggerChildren:b,staggerDirection:S}=c;return iS(a,l,p,x,b,S,o)}:()=>Promise.resolve(),{when:m}=c;if(m){const[p,x]=m==="beforeChildren"?[h,d]:[d,h];return p().then(()=>x())}else return Promise.all([h(),d(o.delay)])}function iS(a,l,o=0,u=0,c=0,h=1,d){const m=[];for(const g of a.variantChildren)g.notify("AnimationStart",l),m.push(bc(g,l,{...d,delay:o+(typeof u=="function"?0:u)+jy(a.variantChildren,g,u,c,h)}).then(()=>g.notify("AnimationComplete",l)));return Promise.all(m)}function lS(a,l,o={}){a.notify("AnimationStart",l);let u;if(Array.isArray(l)){const c=l.map(h=>bc(a,h,o));u=Promise.all(c)}else if(typeof l=="string")u=bc(a,l,o);else{const c=typeof l=="function"?Aa(a,l,o.custom):l;u=Promise.all(wy(a,c,o))}return u.then(()=>{a.notify("AnimationComplete",l)})}const sS={test:a=>a==="auto",parse:a=>a},Vy=a=>l=>l.test(a),_y=[mi,F,tn,kn,O2,R2,sS],_p=a=>_y.find(Vy(a));function oS(a){return typeof a=="number"?a===0:a!==null?a==="none"||a==="0"||k0(a):!0}const uS=new Set(["brightness","contrast","saturate","opacity"]);function rS(a){const[l,o]=a.slice(0,-1).split("(");if(l==="drop-shadow")return a;const[u]=o.match(qc)||[];if(!u)return a;const c=o.replace(u,"");let h=uS.has(l)?1:0;return u!==o&&(h*=100),l+"("+h+c+")"}const cS=/\b([a-z-]*)\(.*?\)/gu,Sc={...Ke,getAnimatableNone:a=>{const l=a.match(cS);return l?l.map(rS).join(" "):a}},Tc={...Ke,getAnimatableNone:a=>{const l=Ke.parse(a);return Ke.createTransformer(a)(l.map(u=>typeof u=="number"?0:typeof u=="object"?{...u,alpha:1}:u))}},Bp={...mi,transform:Math.round},fS={rotate:kn,rotateX:kn,rotateY:kn,rotateZ:kn,scale:Zs,scaleX:Zs,scaleY:Zs,scaleZ:Zs,skew:kn,skewX:kn,skewY:kn,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:xl,originX:Tp,originY:Tp,originZ:F},Pc={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...fS,zIndex:Bp,fillOpacity:xl,strokeOpacity:xl,numOctaves:Bp},dS={...Pc,color:Kt,backgroundColor:Kt,outlineColor:Kt,fill:Kt,stroke:Kt,borderColor:Kt,borderTopColor:Kt,borderRightColor:Kt,borderBottomColor:Kt,borderLeftColor:Kt,filter:Sc,WebkitFilter:Sc,mask:Tc,WebkitMask:Tc},By=a=>dS[a],hS=new Set([Sc,Tc]);function Uy(a,l){let o=By(a);return hS.has(o)||(o=Ke),o.getAnimatableNone?o.getAnimatableNone(l):void 0}const mS=new Set(["auto","none","0"]);function pS(a,l,o){let u=0,c;for(;u{l.getValue(g).set(p)}),this.resolveNoneKeyframes()}}function Ly(a,l,o){if(a==null)return[];if(a instanceof EventTarget)return[a];if(typeof a=="string"){let u=document;const c=(o==null?void 0:o[a])??u.querySelectorAll(a);return c?Array.from(c):[]}return Array.from(a).filter(u=>u!=null)}const Hy=(a,l)=>l&&typeof a=="number"?l.transform(a):a;function Ps(a){return Z0(a)&&"offsetHeight"in a&&!("ownerSVGElement"in a)}const{schedule:Wc}=ly(queueMicrotask,!1),ke={x:!1,y:!1};function qy(){return ke.x||ke.y}function gS(a){return a==="x"||a==="y"?ke[a]?null:(ke[a]=!0,()=>{ke[a]=!1}):ke.x||ke.y?null:(ke.x=ke.y=!0,()=>{ke.x=ke.y=!1})}function Yy(a,l){const o=Ly(a),u=new AbortController,c={passive:!0,...l,signal:u.signal};return[o,c,()=>u.abort()]}function vS(a){return!(a.pointerType==="touch"||qy())}function xS(a,l,o={}){const[u,c,h]=Yy(a,o);return u.forEach(d=>{let m=!1,g=!1,p;const x=()=>{d.removeEventListener("pointerleave",R)},b=L=>{p&&(p(L),p=void 0),x()},S=L=>{m=!1,window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",S),g&&(g=!1,b(L))},C=()=>{m=!0,window.addEventListener("pointerup",S,c),window.addEventListener("pointercancel",S,c)},R=L=>{if(L.pointerType!=="touch"){if(m){g=!0;return}b(L)}},U=L=>{if(!vS(L))return;g=!1;const H=l(d,L);typeof H=="function"&&(p=H,d.addEventListener("pointerleave",R,c))};d.addEventListener("pointerenter",U,c),d.addEventListener("pointerdown",C,c)}),h}const Gy=(a,l)=>l?a===l?!0:Gy(a,l.parentElement):!1,$c=a=>a.pointerType==="mouse"?typeof a.button!="number"||a.button<=0:a.isPrimary!==!1,bS=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function SS(a){return bS.has(a.tagName)||a.isContentEditable===!0}const TS=new Set(["INPUT","SELECT","TEXTAREA"]);function AS(a){return TS.has(a.tagName)||a.isContentEditable===!0}const Ws=new WeakSet;function Up(a){return l=>{l.key==="Enter"&&a(l)}}function Fr(a,l){a.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}const ES=(a,l)=>{const o=a.currentTarget;if(!o)return;const u=Up(()=>{if(Ws.has(o))return;Fr(o,"down");const c=Up(()=>{Fr(o,"up")}),h=()=>Fr(o,"cancel");o.addEventListener("keyup",c,l),o.addEventListener("blur",h,l)});o.addEventListener("keydown",u,l),o.addEventListener("blur",()=>o.removeEventListener("keydown",u),l)};function Lp(a){return $c(a)&&!qy()}const Hp=new WeakSet;function MS(a,l,o={}){const[u,c,h]=Yy(a,o),d=m=>{const g=m.currentTarget;if(!Lp(m)||Hp.has(m))return;Ws.add(g),o.stopPropagation&&Hp.add(m);const p=l(g,m),x=(C,R)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",S),Ws.has(g)&&Ws.delete(g),Lp(C)&&typeof p=="function"&&p(C,{success:R})},b=C=>{x(C,g===window||g===document||o.useGlobalTarget||Gy(g,C.target))},S=C=>{x(C,!1)};window.addEventListener("pointerup",b,c),window.addEventListener("pointercancel",S,c)};return u.forEach(m=>{(o.useGlobalTarget?window:m).addEventListener("pointerdown",d,c),Ps(m)&&(m.addEventListener("focus",p=>ES(p,c)),!SS(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),h}function Ic(a){return Z0(a)&&"ownerSVGElement"in a}const $s=new WeakMap;let Kn;const Xy=(a,l,o)=>(u,c)=>c&&c[0]?c[0][a+"Size"]:Ic(u)&&"getBBox"in u?u.getBBox()[l]:u[o],CS=Xy("inline","width","offsetWidth"),jS=Xy("block","height","offsetHeight");function DS({target:a,borderBoxSize:l}){var o;(o=$s.get(a))==null||o.forEach(u=>{u(a,{get width(){return CS(a,l)},get height(){return jS(a,l)}})})}function zS(a){a.forEach(DS)}function NS(){typeof ResizeObserver>"u"||(Kn=new ResizeObserver(zS))}function RS(a,l){Kn||NS();const o=Ly(a);return o.forEach(u=>{let c=$s.get(u);c||(c=new Set,$s.set(u,c)),c.add(l),Kn==null||Kn.observe(u)}),()=>{o.forEach(u=>{const c=$s.get(u);c==null||c.delete(l),c!=null&&c.size||Kn==null||Kn.unobserve(u)})}}const Is=new Set;let ci;function OS(){ci=()=>{const a={get width(){return window.innerWidth},get height(){return window.innerHeight}};Is.forEach(l=>l(a))},window.addEventListener("resize",ci)}function wS(a){return Is.add(a),ci||OS(),()=>{Is.delete(a),!Is.size&&typeof ci=="function"&&(window.removeEventListener("resize",ci),ci=void 0)}}function qp(a,l){return typeof a=="function"?wS(a):RS(a,l)}function VS(a){return Ic(a)&&a.tagName==="svg"}const _S=[..._y,Kt,Ke],BS=a=>_S.find(Vy(a)),Yp=()=>({translate:0,scale:1,origin:0,originPoint:0}),fi=()=>({x:Yp(),y:Yp()}),Gp=()=>({min:0,max:0}),Ft=()=>({x:Gp(),y:Gp()}),US=new WeakMap;function yo(a){return a!==null&&typeof a=="object"&&typeof a.start=="function"}function bl(a){return typeof a=="string"||Array.isArray(a)}const tf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ef=["initial",...tf];function go(a){return yo(a.animate)||ef.some(l=>bl(a[l]))}function Qy(a){return!!(go(a)||a.variants)}function LS(a,l,o){for(const u in l){const c=l[u],h=o[u];if(le(c))a.addValue(u,c);else if(le(h))a.addValue(u,hi(c,{owner:a}));else if(h!==c)if(a.hasValue(u)){const d=a.getValue(u);d.liveStyle===!0?d.jump(c):d.hasAnimated||d.set(c)}else{const d=a.getStaticValue(u);a.addValue(u,hi(d!==void 0?d:c,{owner:a}))}}for(const u in o)l[u]===void 0&&a.removeValue(u);return l}const Ac={current:null},Zy={current:!1},HS=typeof window<"u";function qS(){if(Zy.current=!0,!!HS)if(window.matchMedia){const a=window.matchMedia("(prefers-reduced-motion)"),l=()=>Ac.current=a.matches;a.addEventListener("change",l),l()}else Ac.current=!1}const Xp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ro={};function ky(a){ro=a}function YS(){return ro}class GS{scrapeMotionValuesFromProps(l,o,u){return{}}constructor({parent:l,props:o,presenceContext:u,reducedMotionConfig:c,skipAnimations:h,blockInitialAnimation:d,visualState:m},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Zc,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const C=re.now();this.renderScheduledAtthis.bindToMotionValue(h,c)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Zy.current||qS(),this.shouldReduceMotion=Ac.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(u=this.parent)==null||u.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var l;this.projection&&this.projection.unmount(),Wn(this.notifyUpdate),Wn(this.render),this.valueSubscriptions.forEach(o=>o()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(l=this.parent)==null||l.removeChild(this);for(const o in this.events)this.events[o].clear();for(const o in this.features){const u=this.features[o];u&&(u.unmount(),u.isMounted=!1)}this.current=null}addChild(l){this.children.add(l),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(l)}removeChild(l){this.children.delete(l),this.enteringChildren&&this.enteringChildren.delete(l)}bindToMotionValue(l,o){if(this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)(),o.accelerate&&Cy.has(l)&&this.current instanceof HTMLElement){const{factory:d,keyframes:m,times:g,ease:p,duration:x}=o.accelerate,b=new Ey({element:this.current,name:l,keyframes:m,times:g,ease:p,duration:ze(x)}),S=d(b);this.valueSubscriptions.set(l,()=>{S(),b.cancel()});return}const u=yi.has(l);u&&this.onBindTransform&&this.onBindTransform();const c=o.on("change",d=>{this.latestValues[l]=d,this.props.onUpdate&&Nt.preRender(this.notifyUpdate),u&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let h;typeof window<"u"&&window.MotionCheckAppearSync&&(h=window.MotionCheckAppearSync(this,l,o)),this.valueSubscriptions.set(l,()=>{c(),h&&h(),o.owner&&o.stop()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in ro){const o=ro[l];if(!o)continue;const{isEnabled:u,Feature:c}=o;if(!this.features[l]&&c&&u(this.props)&&(this.features[l]=new c(this)),this.features[l]){const h=this.features[l];h.isMounted?h.update():(h.mount(),h.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ft()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,o){this.latestValues[l]=o}update(l,o){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let u=0;uo.variantChildren.delete(l)}addValue(l,o){const u=this.values.get(l);o!==u&&(u&&this.removeValue(l),this.bindToMotionValue(l,o),this.values.set(l,o),this.latestValues[l]=o.get())}removeValue(l){this.values.delete(l);const o=this.valueSubscriptions.get(l);o&&(o(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,o){if(this.props.values&&this.props.values[l])return this.props.values[l];let u=this.values.get(l);return u===void 0&&o!==void 0&&(u=hi(o===null?void 0:o,{owner:this}),this.addValue(l,u)),u}readValue(l,o){let u=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:this.getBaseTargetFromProps(this.props,l)??this.readValueFromInstance(this.current,l,this.options);return u!=null&&(typeof u=="string"&&(Q0(u)||k0(u))?u=parseFloat(u):!BS(u)&&Ke.test(o)&&(u=Uy(l,o)),this.setBaseTarget(l,le(u)?u.get():u)),le(u)?u.get():u}setBaseTarget(l,o){this.baseTarget[l]=o}getBaseTarget(l){var h;const{initial:o}=this.props;let u;if(typeof o=="string"||typeof o=="object"){const d=Jc(this.props,o,(h=this.presenceContext)==null?void 0:h.custom);d&&(u=d[l])}if(o&&u!==void 0)return u;const c=this.getBaseTargetFromProps(this.props,l);return c!==void 0&&!le(c)?c:this.initialValues[l]!==void 0&&u===void 0?void 0:this.baseTarget[l]}on(l,o){return this.events[l]||(this.events[l]=new Bc),this.events[l].add(o)}notify(l,...o){this.events[l]&&this.events[l].notify(...o)}scheduleRenderMicrotask(){Wc.render(this.render)}}class Ky extends GS{constructor(){super(...arguments),this.KeyframeResolver=yS}sortInstanceNodePosition(l,o){return l.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(l,o){const u=l.style;return u?u[o]:void 0}removeValueFromRenderState(l,{vars:o,style:u}){delete o[l],delete u[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;le(l)&&(this.childSubscription=l.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}class $n{constructor(l){this.isMounted=!1,this.node=l}update(){}}function Jy({top:a,left:l,right:o,bottom:u}){return{x:{min:l,max:o},y:{min:a,max:u}}}function XS({x:a,y:l}){return{top:l.min,right:a.max,bottom:l.max,left:a.min}}function QS(a,l){if(!l)return a;const o=l({x:a.left,y:a.top}),u=l({x:a.right,y:a.bottom});return{top:o.y,left:o.x,bottom:u.y,right:u.x}}function Pr(a){return a===void 0||a===1}function Ec({scale:a,scaleX:l,scaleY:o}){return!Pr(a)||!Pr(l)||!Pr(o)}function xa(a){return Ec(a)||Fy(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function Fy(a){return Qp(a.x)||Qp(a.y)}function Qp(a){return a&&a!=="0%"}function co(a,l,o){const u=a-o,c=l*u;return o+c}function Zp(a,l,o,u,c){return c!==void 0&&(a=co(a,c,u)),co(a,o,u)+l}function Mc(a,l=0,o=1,u,c){a.min=Zp(a.min,l,o,u,c),a.max=Zp(a.max,l,o,u,c)}function Py(a,{x:l,y:o}){Mc(a.x,l.translate,l.scale,l.originPoint),Mc(a.y,o.translate,o.scale,o.originPoint)}const kp=.999999999999,Kp=1.0000000000001;function ZS(a,l,o,u=!1){var m;const c=o.length;if(!c)return;l.x=l.y=1;let h,d;for(let g=0;gkp&&(l.x=1),l.ykp&&(l.y=1)}function Ie(a,l){a.min+=l,a.max+=l}function Jp(a,l,o,u,c=.5){const h=wt(a.min,a.max,c);Mc(a,l,o,h,u)}function Fp(a,l){return typeof a=="string"?parseFloat(a)/100*(l.max-l.min):a}function to(a,l,o){const u=o??a;Jp(a.x,Fp(l.x,u.x),l.scaleX,l.scale,l.originX),Jp(a.y,Fp(l.y,u.y),l.scaleY,l.scale,l.originY)}function Wy(a,l){return Jy(QS(a.getBoundingClientRect(),l))}function kS(a,l,o){const u=Wy(a,o),{scroll:c}=l;return c&&(Ie(u.x,c.offset.x),Ie(u.y,c.offset.y)),u}const KS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},JS=pi.length;function FS(a,l,o){let u="",c=!0;for(let h=0;h{if(!l.target)return a;if(typeof a=="string")if(F.test(a))a=parseFloat(a);else return a;const o=Pp(a,l.target.x),u=Pp(a,l.target.y);return`${o}% ${u}%`}},PS={correct:(a,{treeScale:l,projectionDelta:o})=>{const u=a,c=Ke.parse(a);if(c.length>5)return u;const h=Ke.createTransformer(a),d=typeof c[0]!="number"?1:0,m=o.x.scale*l.x,g=o.y.scale*l.y;c[0+d]/=m,c[1+d]/=g;const p=wt(m,g,.5);return typeof c[2+d]=="number"&&(c[2+d]/=p),typeof c[3+d]=="number"&&(c[3+d]/=p),h(c)}},Cc={borderRadius:{...dl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:dl,borderTopRightRadius:dl,borderBottomLeftRadius:dl,borderBottomRightRadius:dl,boxShadow:PS};function Iy(a,{layout:l,layoutId:o}){return yi.has(a)||a.startsWith("origin")||(l||o!==void 0)&&(!!Cc[a]||a==="opacity")}function af(a,l,o){var d;const u=a.style,c=l==null?void 0:l.style,h={};if(!u)return h;for(const m in u)(le(u[m])||c&&le(c[m])||Iy(m,a)||((d=o==null?void 0:o.getValue(m))==null?void 0:d.liveStyle)!==void 0)&&(h[m]=u[m]);return h}function WS(a){return window.getComputedStyle(a)}class $S extends Ky{constructor(){super(...arguments),this.type="html",this.renderInstance=$y}readValueFromInstance(l,o){var u;if(yi.has(o))return(u=this.projection)!=null&&u.isProjecting?dc(o):vb(l,o);{const c=WS(l),h=(oy(o)?c.getPropertyValue(o):c[o])||0;return typeof h=="string"?h.trim():h}}measureInstanceViewportBox(l,{transformPagePoint:o}){return Wy(l,o)}build(l,o,u){nf(l,o,u.transformTemplate)}scrapeMotionValuesFromProps(l,o,u){return af(l,o,u)}}const IS={offset:"stroke-dashoffset",array:"stroke-dasharray"},tT={offset:"strokeDashoffset",array:"strokeDasharray"};function eT(a,l,o=1,u=0,c=!0){a.pathLength=1;const h=c?IS:tT;a[h.offset]=`${-u}`,a[h.array]=`${l} ${o}`}const nT=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tg(a,{attrX:l,attrY:o,attrScale:u,pathLength:c,pathSpacing:h=1,pathOffset:d=0,...m},g,p,x){if(nf(a,m,p),g){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};const{attrs:b,style:S}=a;b.transform&&(S.transform=b.transform,delete b.transform),(S.transform||b.transformOrigin)&&(S.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),S.transform&&(S.transformBox=(x==null?void 0:x.transformBox)??"fill-box",delete b.transformBox);for(const C of nT)b[C]!==void 0&&(S[C]=b[C],delete b[C]);l!==void 0&&(b.x=l),o!==void 0&&(b.y=o),u!==void 0&&(b.scale=u),c!==void 0&&eT(b,c,h,d,!1)}const eg=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),ng=a=>typeof a=="string"&&a.toLowerCase()==="svg";function aT(a,l,o,u){$y(a,l,void 0,u);for(const c in l.attrs)a.setAttribute(eg.has(c)?c:Fc(c),l.attrs[c])}function ag(a,l,o){const u=af(a,l,o);for(const c in a)if(le(a[c])||le(l[c])){const h=pi.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;u[h]=a[c]}return u}class iT extends Ky{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ft}getBaseTargetFromProps(l,o){return l[o]}readValueFromInstance(l,o){if(yi.has(o)){const u=By(o);return u&&u.default||0}return o=eg.has(o)?o:Fc(o),l.getAttribute(o)}scrapeMotionValuesFromProps(l,o,u){return ag(l,o,u)}build(l,o,u){tg(l,o,this.isSVGTag,u.transformTemplate,u.style)}renderInstance(l,o,u,c){aT(l,o,u,c)}mount(l){this.isSVGTag=ng(l.tagName),super.mount(l)}}const lT=ef.length;function ig(a){if(!a)return;if(!a.isControllingVariants){const o=a.parent?ig(a.parent)||{}:{};return a.props.initial!==void 0&&(o.initial=a.props.initial),o}const l={};for(let o=0;oPromise.all(l.map(({animation:o,options:u})=>lS(a,o,u)))}function rT(a){let l=uT(a),o=Wp(),u=!0,c=!1;const h=p=>(x,b)=>{var C;const S=Aa(a,b,p==="exit"?(C=a.presenceContext)==null?void 0:C.custom:void 0);if(S){const{transition:R,transitionEnd:U,...L}=S;x={...x,...L,...U}}return x};function d(p){l=p(a)}function m(p){const{props:x}=a,b=ig(a.parent)||{},S=[],C=new Set;let R={},U=1/0;for(let H=0;HU&&K,tt=!1;const pt=Array.isArray(X)?X:[X];let vt=pt.reduce(h(G),{});lt===!1&&(vt={});const{prevResolvedValues:$t={}}=q,Gt={...$t,...vt},Lt=k=>{at=!0,C.has(k)&&(tt=!0,C.delete(k)),q.needsAnimating[k]=!0;const ut=a.getValue(k);ut&&(ut.liveStyle=!1)};for(const k in Gt){const ut=vt[k],yt=$t[k];if(R.hasOwnProperty(k))continue;let E=!1;vc(ut)&&vc(yt)?E=!lg(ut,yt):E=ut!==yt,E?ut!=null?Lt(k):C.add(k):ut!==void 0&&C.has(k)?Lt(k):q.protectedKeys[k]=!0}q.prevProp=X,q.prevResolvedValues=vt,q.isActive&&(R={...R,...vt}),(u||c)&&a.blockInitialAnimation&&(at=!1);const O=I&&$;at&&(!O||tt)&&S.push(...pt.map(k=>{const ut={type:G};if(typeof k=="string"&&(u||c)&&!O&&a.manuallyAnimateOnMount&&a.parent){const{parent:yt}=a,E=Aa(yt,k);if(yt.enteringChildren&&E){const{delayChildren:B}=E.transition||{};ut.delay=jy(yt.enteringChildren,a,B)}}return{animation:k,options:ut}}))}if(C.size){const H={};if(typeof x.initial!="boolean"){const G=Aa(a,Array.isArray(x.initial)?x.initial[0]:x.initial);G&&G.transition&&(H.transition=G.transition)}C.forEach(G=>{const q=a.getBaseTarget(G),X=a.getValue(G);X&&(X.liveStyle=!0),H[G]=q??null}),S.push({animation:H})}let L=!!S.length;return u&&(x.initial===!1||x.initial===x.animate)&&!a.manuallyAnimateOnMount&&(L=!1),u=!1,c=!1,L?l(S):Promise.resolve()}function g(p,x){var S;if(o[p].isActive===x)return Promise.resolve();(S=a.variantChildren)==null||S.forEach(C=>{var R;return(R=C.animationState)==null?void 0:R.setActive(p,x)}),o[p].isActive=x;const b=m(p);for(const C in o)o[C].protectedKeys={};return b}return{animateChanges:m,setActive:g,setAnimateFunction:d,getState:()=>o,reset:()=>{o=Wp(),c=!0}}}function cT(a,l){return typeof l=="string"?l!==a:Array.isArray(l)?!lg(l,a):!1}function va(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Wp(){return{animate:va(!0),whileInView:va(),whileHover:va(),whileTap:va(),whileDrag:va(),whileFocus:va(),exit:va()}}function jc(a,l){a.min=l.min,a.max=l.max}function Ze(a,l){jc(a.x,l.x),jc(a.y,l.y)}function $p(a,l){a.translate=l.translate,a.scale=l.scale,a.originPoint=l.originPoint,a.origin=l.origin}const sg=1e-4,fT=1-sg,dT=1+sg,og=.01,hT=0-og,mT=0+og;function ce(a){return a.max-a.min}function pT(a,l,o){return Math.abs(a-l)<=o}function Ip(a,l,o,u=.5){a.origin=u,a.originPoint=wt(l.min,l.max,a.origin),a.scale=ce(o)/ce(l),a.translate=wt(o.min,o.max,a.origin)-a.originPoint,(a.scale>=fT&&a.scale<=dT||isNaN(a.scale))&&(a.scale=1),(a.translate>=hT&&a.translate<=mT||isNaN(a.translate))&&(a.translate=0)}function yl(a,l,o,u){Ip(a.x,l.x,o.x,u?u.originX:void 0),Ip(a.y,l.y,o.y,u?u.originY:void 0)}function t0(a,l,o,u=0){const c=u?wt(o.min,o.max,u):o.min;a.min=c+l.min,a.max=a.min+ce(l)}function yT(a,l,o,u){t0(a.x,l.x,o.x,u==null?void 0:u.x),t0(a.y,l.y,o.y,u==null?void 0:u.y)}function e0(a,l,o,u=0){const c=u?wt(o.min,o.max,u):o.min;a.min=l.min-c,a.max=a.min+ce(l)}function fo(a,l,o,u){e0(a.x,l.x,o.x,u==null?void 0:u.x),e0(a.y,l.y,o.y,u==null?void 0:u.y)}function n0(a,l,o,u,c){return a-=l,a=co(a,1/o,u),c!==void 0&&(a=co(a,1/c,u)),a}function gT(a,l=0,o=1,u=.5,c,h=a,d=a){if(tn.test(l)&&(l=parseFloat(l),l=wt(d.min,d.max,l/100)-d.min),typeof l!="number")return;let m=wt(h.min,h.max,u);a===h&&(m-=l),a.min=n0(a.min,l,o,m,c),a.max=n0(a.max,l,o,m,c)}function a0(a,l,[o,u,c],h,d){gT(a,l[o],l[u],l[c],l.scale,h,d)}const vT=["x","scaleX","originX"],xT=["y","scaleY","originY"];function i0(a,l,o,u){a0(a.x,l,vT,o?o.x:void 0,u?u.x:void 0),a0(a.y,l,xT,o?o.y:void 0,u?u.y:void 0)}function l0(a){return a.translate===0&&a.scale===1}function ug(a){return l0(a.x)&&l0(a.y)}function s0(a,l){return a.min===l.min&&a.max===l.max}function bT(a,l){return s0(a.x,l.x)&&s0(a.y,l.y)}function o0(a,l){return Math.round(a.min)===Math.round(l.min)&&Math.round(a.max)===Math.round(l.max)}function rg(a,l){return o0(a.x,l.x)&&o0(a.y,l.y)}function u0(a){return ce(a.x)/ce(a.y)}function r0(a,l){return a.translate===l.translate&&a.scale===l.scale&&a.originPoint===l.originPoint}function $e(a){return[a("x"),a("y")]}function ST(a,l,o){let u="";const c=a.x.translate/l.x,h=a.y.translate/l.y,d=(o==null?void 0:o.z)||0;if((c||h||d)&&(u=`translate3d(${c}px, ${h}px, ${d}px) `),(l.x!==1||l.y!==1)&&(u+=`scale(${1/l.x}, ${1/l.y}) `),o){const{transformPerspective:p,rotate:x,rotateX:b,rotateY:S,skewX:C,skewY:R}=o;p&&(u=`perspective(${p}px) ${u}`),x&&(u+=`rotate(${x}deg) `),b&&(u+=`rotateX(${b}deg) `),S&&(u+=`rotateY(${S}deg) `),C&&(u+=`skewX(${C}deg) `),R&&(u+=`skewY(${R}deg) `)}const m=a.x.scale*l.x,g=a.y.scale*l.y;return(m!==1||g!==1)&&(u+=`scale(${m}, ${g})`),u||"none"}const cg=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],TT=cg.length,c0=a=>typeof a=="string"?parseFloat(a):a,f0=a=>typeof a=="number"||F.test(a);function AT(a,l,o,u,c,h){c?(a.opacity=wt(0,o.opacity??1,ET(u)),a.opacityExit=wt(l.opacity??1,0,MT(u))):h&&(a.opacity=wt(l.opacity??1,o.opacity??1,u));for(let d=0;dul?1:o(vl(a,l,u))}function CT(a,l,o){const u=le(a)?a:hi(a);return u.start(Kc("",u,l,o)),u.animation}function Sl(a,l,o,u={passive:!0}){return a.addEventListener(l,o,u),()=>a.removeEventListener(l,o)}const jT=(a,l)=>a.depth-l.depth;class DT{constructor(){this.children=[],this.isDirty=!1}add(l){Vc(this.children,l),this.isDirty=!0}remove(l){io(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(jT),this.isDirty=!1,this.children.forEach(l)}}function zT(a,l){const o=re.now(),u=({timestamp:c})=>{const h=c-o;h>=l&&(Wn(u),a(h-l))};return Nt.setup(u,!0),()=>Wn(u)}function eo(a){return le(a)?a.get():a}class NT{constructor(){this.members=[]}add(l){Vc(this.members,l);for(let o=this.members.length-1;o>=0;o--){const u=this.members[o];if(u===l||u===this.lead||u===this.prevLead)continue;const c=u.instance;(!c||c.isConnected===!1)&&!u.snapshot&&(io(this.members,u),u.unmount())}l.scheduleRender()}remove(l){if(io(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(l){var o;for(let u=this.members.indexOf(l)-1;u>=0;u--){const c=this.members[u];if(c.isPresent!==!1&&((o=c.instance)==null?void 0:o.isConnected)!==!1)return this.promote(c),!0}return!1}promote(l,o){var c;const u=this.lead;if(l!==u&&(this.prevLead=u,this.lead=l,l.show(),u)){u.updateSnapshot(),l.scheduleRender();const{layoutDependency:h}=u.options,{layoutDependency:d}=l.options;(h===void 0||h!==d)&&(l.resumeFrom=u,o&&(u.preserveOpacity=!0),u.snapshot&&(l.snapshot=u.snapshot,l.snapshot.latestValues=u.animationValues||u.latestValues),(c=l.root)!=null&&c.isUpdating&&(l.isLayoutDirty=!0)),l.options.crossfade===!1&&u.hide()}}exitAnimationComplete(){this.members.forEach(l=>{var o,u,c,h,d;(u=(o=l.options).onExitComplete)==null||u.call(o),(d=(c=l.resumingFrom)==null?void 0:(h=c.options).onExitComplete)==null||d.call(h)})}scheduleRender(){this.members.forEach(l=>l.instance&&l.scheduleRender(!1))}removeLeadSnapshot(){var l;(l=this.lead)!=null&&l.snapshot&&(this.lead.snapshot=void 0)}}const no={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Wr=["","X","Y","Z"],RT=1e3;let OT=0;function $r(a,l,o,u){const{latestValues:c}=l;c[a]&&(o[a]=c[a],l.setStaticValue(a,0),u&&(u[a]=0))}function dg(a){if(a.hasCheckedOptimisedAppear=!0,a.root===a)return;const{visualElement:l}=a.options;if(!l)return;const o=Oy(l);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:c,layoutId:h}=a.options;window.MotionCancelOptimisedAnimation(o,"transform",Nt,!(c||h))}const{parent:u}=a;u&&!u.hasCheckedOptimisedAppear&&dg(u)}function hg({attachResizeListener:a,defaultParent:l,measureScroll:o,checkIsScrollRoot:u,resetTransform:c}){return class{constructor(d={},m=l==null?void 0:l()){this.id=OT++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(_T),this.nodes.forEach(YT),this.nodes.forEach(GT),this.nodes.forEach(BT)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let g=0;gthis.root.updateBlockedByResize=!1;Nt.read(()=>{b=window.innerWidth}),a(d,()=>{const C=window.innerWidth;C!==b&&(b=C,this.root.updateBlockedByResize=!0,x&&x(),x=zT(S,250),no.hasAnimatedSinceResize&&(no.hasAnimatedSinceResize=!1,this.nodes.forEach(p0)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&p&&(m||g)&&this.addEventListener("didUpdate",({delta:x,hasLayoutChanged:b,hasRelativeLayoutChanged:S,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const R=this.options.transition||p.getDefaultTransition()||KT,{onLayoutAnimationStart:U,onLayoutAnimationComplete:L}=p.getProps(),H=!this.targetLayout||!rg(this.targetLayout,C),G=!b&&S;if(this.options.layoutRoot||this.resumeFrom||G||b&&(H||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const q={...kc(R,"layout"),onPlay:U,onComplete:L};(p.shouldReduceMotion||this.options.layoutRoot)&&(q.delay=0,q.type=!1),this.startAnimation(q),this.setAnimationOrigin(x,G)}else b||p0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Wn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(XT),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&dg(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let x=0;x{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ce(this.snapshot.measuredBox.x)&&!ce(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let g=0;g{const K=X/1e3;y0(b.x,d.x,K),y0(b.y,d.y,K),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(fo(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),ZT(this.relativeTarget,this.relativeTargetOrigin,S,K),q&&bT(this.relativeTarget,q)&&(this.isProjectionDirty=!1),q||(q=Ft()),Ze(q,this.relativeTarget)),U&&(this.animationValues=x,AT(x,p,this.latestValues,K,G,H)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=K},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var m,g,p;this.notifyListeners("animationStart"),(m=this.currentAnimation)==null||m.stop(),(p=(g=this.resumingFrom)==null?void 0:g.currentAnimation)==null||p.stop(),this.pendingAnimation&&(Wn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Nt.update(()=>{no.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=hi(0)),this.motionValue.jump(0,!1),this.currentAnimation=CT(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:x=>{this.mixTargetDelta(x),d.onUpdate&&d.onUpdate(x)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(RT),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:m,target:g,layout:p,latestValues:x}=d;if(!(!m||!g||!p)){if(this!==d&&this.layout&&p&&mg(this.options.animationType,this.layout.layoutBox,p.layoutBox)){g=this.target||Ft();const b=ce(this.layout.layoutBox.x);g.x.min=d.target.x.min,g.x.max=g.x.min+b;const S=ce(this.layout.layoutBox.y);g.y.min=d.target.y.min,g.y.max=g.y.min+S}Ze(m,g),to(m,x),yl(this.projectionDeltaWithTransform,this.layoutCorrected,m,x)}}registerSharedNode(d,m){this.sharedNodes.has(d)||this.sharedNodes.set(d,new NT),this.sharedNodes.get(d).add(m);const p=m.options.initialPromotionConfig;m.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(m):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var m;const{layoutId:d}=this.options;return d?((m=this.getStack())==null?void 0:m.lead)||this:this}getPrevLead(){var m;const{layoutId:d}=this.options;return d?(m=this.getStack())==null?void 0:m.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:m,preserveFollowOpacity:g}={}){const p=this.getStack();p&&p.promote(this,g),d&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let m=!1;const{latestValues:g}=d;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(m=!0),!m)return;const p={};g.z&&$r("z",d,p,this.animationValues);for(let x=0;x{var m;return(m=d.currentAnimation)==null?void 0:m.stop()}),this.root.nodes.forEach(h0),this.root.sharedNodes.clear()}}}function wT(a){a.updateLayout()}function VT(a){var o;const l=((o=a.resumeFrom)==null?void 0:o.snapshot)||a.snapshot;if(a.isLead()&&a.layout&&l&&a.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:c}=a.layout,{animationType:h}=a.options,d=l.source!==a.layout.source;if(h==="size")$e(b=>{const S=d?l.measuredBox[b]:l.layoutBox[b],C=ce(S);S.min=u[b].min,S.max=S.min+C});else if(h==="x"||h==="y"){const b=h==="x"?"y":"x";jc(d?l.measuredBox[b]:l.layoutBox[b],u[b])}else mg(h,l.layoutBox,u)&&$e(b=>{const S=d?l.measuredBox[b]:l.layoutBox[b],C=ce(u[b]);S.max=S.min+C,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[b].max=a.relativeTarget[b].min+C)});const m=fi();yl(m,u,l.layoutBox);const g=fi();d?yl(g,a.applyTransform(c,!0),l.measuredBox):yl(g,u,l.layoutBox);const p=!ug(m);let x=!1;if(!a.resumeFrom){const b=a.getClosestProjectingParent();if(b&&!b.resumeFrom){const{snapshot:S,layout:C}=b;if(S&&C){const R=a.options.layoutAnchor||void 0,U=Ft();fo(U,l.layoutBox,S.layoutBox,R);const L=Ft();fo(L,u,C.layoutBox,R),rg(U,L)||(x=!0),b.options.layoutRoot&&(a.relativeTarget=L,a.relativeTargetOrigin=U,a.relativeParent=b)}}}a.notifyListeners("didUpdate",{layout:u,snapshot:l,delta:g,layoutDelta:m,hasLayoutChanged:p,hasRelativeLayoutChanged:x})}else if(a.isLead()){const{onExitComplete:u}=a.options;u&&u()}a.options.transition=void 0}function _T(a){a.parent&&(a.isProjecting()||(a.isProjectionDirty=a.parent.isProjectionDirty),a.isSharedProjectionDirty||(a.isSharedProjectionDirty=!!(a.isProjectionDirty||a.parent.isProjectionDirty||a.parent.isSharedProjectionDirty)),a.isTransformDirty||(a.isTransformDirty=a.parent.isTransformDirty))}function BT(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function UT(a){a.clearSnapshot()}function h0(a){a.clearMeasurements()}function LT(a){a.isLayoutDirty=!0,a.updateLayout()}function m0(a){a.isLayoutDirty=!1}function HT(a){a.isAnimationBlocked&&a.layout&&!a.isLayoutDirty&&(a.snapshot=a.layout,a.isLayoutDirty=!0)}function qT(a){const{visualElement:l}=a.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),a.resetTransform()}function p0(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function YT(a){a.resolveTargetDelta()}function GT(a){a.calcProjection()}function XT(a){a.resetSkewAndRotation()}function QT(a){a.removeLeadSnapshot()}function y0(a,l,o){a.translate=wt(l.translate,0,o),a.scale=wt(l.scale,1,o),a.origin=l.origin,a.originPoint=l.originPoint}function g0(a,l,o,u){a.min=wt(l.min,o.min,u),a.max=wt(l.max,o.max,u)}function ZT(a,l,o,u){g0(a.x,l.x,o.x,u),g0(a.y,l.y,o.y,u)}function kT(a){return a.animationValues&&a.animationValues.opacityExit!==void 0}const KT={duration:.45,ease:[.4,0,.1,1]},v0=a=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),x0=v0("applewebkit/")&&!v0("chrome/")?Math.round:Ye;function b0(a){a.min=x0(a.min),a.max=x0(a.max)}function JT(a){b0(a.x),b0(a.y)}function mg(a,l,o){return a==="position"||a==="preserve-aspect"&&!pT(u0(l),u0(o),.2)}function FT(a){var l;return a!==a.root&&((l=a.scroll)==null?void 0:l.wasRoot)}const PT=hg({attachResizeListener:(a,l)=>Sl(a,"resize",l),measureScroll:()=>{var a,l;return{x:document.documentElement.scrollLeft||((a=document.body)==null?void 0:a.scrollLeft)||0,y:document.documentElement.scrollTop||((l=document.body)==null?void 0:l.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Ir={current:void 0},pg=hg({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!Ir.current){const a=new PT({});a.mount(window),a.setOptions({layoutScroll:!0}),Ir.current=a}return Ir.current},resetTransform:(a,l)=>{a.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:a=>window.getComputedStyle(a).position==="fixed"}),lf=Y.createContext({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"});function S0(a,l){if(typeof a=="function")return a(l);a!=null&&(a.current=l)}function WT(...a){return l=>{let o=!1;const u=a.map(c=>{const h=S0(c,l);return!o&&typeof h=="function"&&(o=!0),h});if(o)return()=>{for(let c=0;c{const{width:C,height:R,top:U,left:L,right:H,bottom:G}=g.current;if(l||h===!1||!m.current||!C||!R)return;const q=o==="left"?`left: ${L}`:`right: ${H}`,X=u==="bottom"?`bottom: ${G}`:`top: ${U}`;m.current.dataset.motionPopId=d;const K=document.createElement("style");p&&(K.nonce=p);const lt=c??document.head;return lt.appendChild(K),K.sheet&&K.sheet.insertRule(` [data-motion-pop-id="${d}"] { position: absolute !important; width: ${C}px !important; height: ${R}px !important; ${q}px !important; ${X}px !important; } `),()=>{var I;(I=m.current)==null||I.removeAttribute("data-motion-pop-id"),lt.contains(K)&<.removeChild(K)}},[l]),v.jsx(IT,{isPresent:l,childRef:m,sizeRef:g,pop:h,children:h===!1?a:Y.cloneElement(a,{ref:b})})}const eA=({children:a,initial:l,isPresent:o,onExitComplete:u,custom:c,presenceAffectsLayout:h,mode:d,anchorX:m,anchorY:g,root:p})=>{const x=wc(nA),b=Y.useId();let S=!0,C=Y.useMemo(()=>(S=!1,{id:b,initial:l,isPresent:o,custom:c,onExitComplete:R=>{x.set(R,!0);for(const U of x.values())if(!U)return;u&&u()},register:R=>(x.set(R,!1),()=>x.delete(R))}),[o,x,u]);return h&&S&&(C={...C}),Y.useMemo(()=>{x.forEach((R,U)=>x.set(U,!1))},[o]),Y.useEffect(()=>{!o&&!x.size&&u&&u()},[o]),a=v.jsx(tA,{pop:d==="popLayout",isPresent:o,anchorX:m,anchorY:g,root:p,children:a}),v.jsx(mo.Provider,{value:C,children:a})};function nA(){return new Map}function yg(a=!0){const l=Y.useContext(mo);if(l===null)return[!0,null];const{isPresent:o,onExitComplete:u,register:c}=l,h=Y.useId();Y.useEffect(()=>{if(a)return c(h)},[a]);const d=Y.useCallback(()=>a&&u&&u(h),[h,u,a]);return!o&&u?[!1,d]:[!0]}const ks=a=>a.key||"";function T0(a){const l=[];return Y.Children.forEach(a,o=>{Y.isValidElement(o)&&l.push(o)}),l}const gg=({children:a,custom:l,initial:o=!0,onExitComplete:u,presenceAffectsLayout:c=!0,mode:h="sync",propagate:d=!1,anchorX:m="left",anchorY:g="top",root:p})=>{const[x,b]=yg(d),S=Y.useMemo(()=>T0(a),[a]),C=d&&!x?[]:S.map(ks),R=Y.useRef(!0),U=Y.useRef(S),L=wc(()=>new Map),H=Y.useRef(new Set),[G,q]=Y.useState(S),[X,K]=Y.useState(S);X0(()=>{R.current=!1,U.current=S;for(let $=0;${const at=ks($),tt=d&&!x?!1:S===X||C.includes(at),pt=()=>{if(H.current.has(at))return;if(L.has(at))H.current.add(at),L.set(at,!0);else return;let vt=!0;L.forEach($t=>{$t||(vt=!1)}),vt&&(I==null||I(),K(U.current),d&&(b==null||b()),u&&u())};return v.jsx(eA,{isPresent:tt,initial:!R.current||o?void 0:!1,custom:l,presenceAffectsLayout:c,mode:h,root:p,onExitComplete:tt?void 0:pt,anchorX:m,anchorY:g,children:$},at)})})},vg=Y.createContext({strict:!1}),A0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let E0=!1;function aA(){if(E0)return;const a={};for(const l in A0)a[l]={isEnabled:o=>A0[l].some(u=>!!o[u])};ky(a),E0=!0}function xg(){return aA(),YS()}function iA(a){const l=xg();for(const o in a)l[o]={...l[o],...a[o]};ky(l)}const lA=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ho(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||lA.has(a)}let bg=a=>!ho(a);function sA(a){typeof a=="function"&&(bg=l=>l.startsWith("on")?!ho(l):a(l))}try{sA(require("@emotion/is-prop-valid").default)}catch{}function oA(a,l,o){const u={};for(const c in a)c==="values"&&typeof a.values=="object"||le(a[c])||(bg(c)||o===!0&&ho(c)||!l&&!ho(c)||a.draggable&&c.startsWith("onDrag"))&&(u[c]=a[c]);return u}const vo=Y.createContext({});function uA(a,l){if(go(a)){const{initial:o,animate:u}=a;return{initial:o===!1||bl(o)?o:void 0,animate:bl(u)?u:void 0}}return a.inherit!==!1?l:{}}function rA(a){const{initial:l,animate:o}=uA(a,Y.useContext(vo));return Y.useMemo(()=>({initial:l,animate:o}),[M0(l),M0(o)])}function M0(a){return Array.isArray(a)?a.join(" "):a}const sf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Sg(a,l,o){for(const u in l)!le(l[u])&&!Iy(u,o)&&(a[u]=l[u])}function cA({transformTemplate:a},l){return Y.useMemo(()=>{const o=sf();return nf(o,l,a),Object.assign({},o.vars,o.style)},[l])}function fA(a,l){const o=a.style||{},u={};return Sg(u,o,a),Object.assign(u,cA(a,l)),u}function dA(a,l){const o={},u=fA(a,l);return a.drag&&a.dragListener!==!1&&(o.draggable=!1,u.userSelect=u.WebkitUserSelect=u.WebkitTouchCallout="none",u.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(o.tabIndex=0),o.style=u,o}const Tg=()=>({...sf(),attrs:{}});function hA(a,l,o,u){const c=Y.useMemo(()=>{const h=Tg();return tg(h,l,ng(u),a.transformTemplate,a.style),{...h.attrs,style:{...h.style}}},[l]);if(a.style){const h={};Sg(h,a.style,a),c.style={...h,...c.style}}return c}const mA=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function of(a){return typeof a!="string"||a.includes("-")?!1:!!(mA.indexOf(a)>-1||/[A-Z]/u.test(a))}function pA(a,l,o,{latestValues:u},c,h=!1,d){const g=(d??of(a)?hA:dA)(l,u,c,a),p=oA(l,typeof a=="string",h),x=a!==Y.Fragment?{...p,...g,ref:o}:{},{children:b}=l,S=Y.useMemo(()=>le(b)?b.get():b,[b]);return Y.createElement(a,{...x,children:S})}function yA({scrapeMotionValuesFromProps:a,createRenderState:l},o,u,c){return{latestValues:gA(o,u,c,a),renderState:l()}}function gA(a,l,o,u){const c={},h=u(a,{});for(const S in h)c[S]=eo(h[S]);let{initial:d,animate:m}=a;const g=go(a),p=Qy(a);l&&p&&!g&&a.inherit!==!1&&(d===void 0&&(d=l.initial),m===void 0&&(m=l.animate));let x=o?o.initial===!1:!1;x=x||d===!1;const b=x?m:d;if(b&&typeof b!="boolean"&&!yo(b)){const S=Array.isArray(b)?b:[b];for(let C=0;C(l,o)=>{const u=Y.useContext(vo),c=Y.useContext(mo),h=()=>yA(a,l,u,c);return o?h():wc(h)},vA=Ag({scrapeMotionValuesFromProps:af,createRenderState:sf}),xA=Ag({scrapeMotionValuesFromProps:ag,createRenderState:Tg}),bA=Symbol.for("motionComponentSymbol");function SA(a,l,o){const u=Y.useRef(o);Y.useInsertionEffect(()=>{u.current=o});const c=Y.useRef(null);return Y.useCallback(h=>{var m;h&&((m=a.onMount)==null||m.call(a,h));const d=u.current;if(typeof d=="function")if(h){const g=d(h);typeof g=="function"&&(c.current=g)}else c.current?(c.current(),c.current=null):d(h);else d&&(d.current=h);l&&(h?l.mount(h):l.unmount())},[l])}const Eg=Y.createContext({});function ui(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function TA(a,l,o,u,c,h){var q,X;const{visualElement:d}=Y.useContext(vo),m=Y.useContext(vg),g=Y.useContext(mo),p=Y.useContext(lf),x=p.reducedMotion,b=p.skipAnimations,S=Y.useRef(null),C=Y.useRef(!1);u=u||m.renderer,!S.current&&u&&(S.current=u(a,{visualState:l,parent:d,props:o,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:x,skipAnimations:b,isSVG:h}),C.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));const R=S.current,U=Y.useContext(Eg);R&&!R.projection&&c&&(R.type==="html"||R.type==="svg")&&AA(S.current,o,c,U);const L=Y.useRef(!1);Y.useInsertionEffect(()=>{R&&L.current&&R.update(o,g)});const H=o[Ry],G=Y.useRef(!!H&&typeof window<"u"&&!((q=window.MotionHandoffIsComplete)!=null&&q.call(window,H))&&((X=window.MotionHasOptimisedAnimation)==null?void 0:X.call(window,H)));return X0(()=>{C.current=!0,R&&(L.current=!0,window.MotionIsMounted=!0,R.updateFeatures(),R.scheduleRenderMicrotask(),G.current&&R.animationState&&R.animationState.animateChanges())}),Y.useEffect(()=>{R&&(!G.current&&R.animationState&&R.animationState.animateChanges(),G.current&&(queueMicrotask(()=>{var K;(K=window.MotionHandoffMarkAsComplete)==null||K.call(window,H)}),G.current=!1),R.enteringChildren=void 0)}),R}function AA(a,l,o,u){const{layoutId:c,layout:h,drag:d,dragConstraints:m,layoutScroll:g,layoutRoot:p,layoutAnchor:x,layoutCrossfade:b}=l;a.projection=new o(a.latestValues,l["data-framer-portal-id"]?void 0:Mg(a.parent)),a.projection.setOptions({layoutId:c,layout:h,alwaysMeasureLayout:!!d||m&&ui(m),visualElement:a,animationType:typeof h=="string"?h:"both",initialPromotionConfig:u,crossfade:b,layoutScroll:g,layoutRoot:p,layoutAnchor:x})}function Mg(a){if(a)return a.options.allowProjection!==!1?a.projection:Mg(a.parent)}function tc(a,{forwardMotionProps:l=!1,type:o}={},u,c){u&&iA(u);const h=o?o==="svg":of(a),d=h?xA:vA;function m(p,x){let b;const S={...Y.useContext(lf),...p,layoutId:EA(p)},{isStatic:C}=S,R=rA(p),U=d(p,C);if(!C&&typeof window<"u"){MA();const L=CA(S);b=L.MeasureLayout,R.visualElement=TA(a,U,S,c,L.ProjectionNode,h)}return v.jsxs(vo.Provider,{value:R,children:[b&&R.visualElement?v.jsx(b,{visualElement:R.visualElement,...S}):null,pA(a,p,SA(U,R.visualElement,x),U,C,l,h)]})}m.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const g=Y.forwardRef(m);return g[bA]=a,g}function EA({layoutId:a}){const l=Y.useContext(Oc).id;return l&&a!==void 0?l+"-"+a:a}function MA(a,l){Y.useContext(vg).strict}function CA(a){const l=xg(),{drag:o,layout:u}=l;if(!o&&!u)return{};const c={...o,...u};return{MeasureLayout:o!=null&&o.isEnabled(a)||u!=null&&u.isEnabled(a)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function jA(a,l){if(typeof Proxy>"u")return tc;const o=new Map,u=(h,d)=>tc(h,d,a,l),c=(h,d)=>u(h,d);return new Proxy(c,{get:(h,d)=>d==="create"?u:(o.has(d)||o.set(d,tc(d,void 0,a,l)),o.get(d))})}const DA=(a,l)=>l.isSVG??of(a)?new iT(l):new $S(l,{allowProjection:a!==Y.Fragment});class zA extends $n{constructor(l){super(l),l.animationState||(l.animationState=rT(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();yo(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:o}=this.node.prevProps||{};l!==o&&this.updateAnimationControlsSubscription()}unmount(){var l;this.node.animationState.reset(),(l=this.unmountControls)==null||l.call(this)}}let NA=0;class RA extends $n{constructor(){super(...arguments),this.id=NA++,this.isExitComplete=!1}update(){var h;if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:o}=this.node.presenceContext,{isPresent:u}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===u)return;if(l&&u===!1){if(this.isExitComplete){const{initial:d,custom:m}=this.node.getProps();if(typeof d=="string"){const g=Aa(this.node,d,m);if(g){const{transition:p,transitionEnd:x,...b}=g;for(const S in b)(h=this.node.getValue(S))==null||h.jump(b[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const c=this.node.animationState.setActive("exit",!l);o&&!l&&c.then(()=>{this.isExitComplete=!0,o(this.id)})}mount(){const{register:l,onExitComplete:o}=this.node.presenceContext||{};o&&o(this.id),l&&(this.unmount=l(this.id))}unmount(){}}const OA={animation:{Feature:zA},exit:{Feature:RA}};function Ml(a){return{point:{x:a.pageX,y:a.pageY}}}const wA=a=>l=>$c(l)&&a(l,Ml(l));function gl(a,l,o,u){return Sl(a,l,wA(o),u)}const Cg=({current:a})=>a?a.ownerDocument.defaultView:null,C0=(a,l)=>Math.abs(a-l);function VA(a,l){const o=C0(a.x,l.x),u=C0(a.y,l.y);return Math.sqrt(o**2+u**2)}const j0=new Set(["auto","scroll"]);class jg{constructor(l,o,{transformPagePoint:u,contextWindow:c=window,dragSnapToOrigin:h=!1,distanceThreshold:d=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=C=>{this.handleScroll(C.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Ks(this.lastRawMoveEventInfo,this.transformPagePoint));const C=ec(this.lastMoveEventInfo,this.history),R=this.startEvent!==null,U=VA(C.offset,{x:0,y:0})>=this.distanceThreshold;if(!R&&!U)return;const{point:L}=C,{timestamp:H}=ie;this.history.push({...L,timestamp:H});const{onStart:G,onMove:q}=this.handlers;R||(G&&G(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),q&&q(this.lastMoveEvent,C)},this.handlePointerMove=(C,R)=>{this.lastMoveEvent=C,this.lastRawMoveEventInfo=R,this.lastMoveEventInfo=Ks(R,this.transformPagePoint),Nt.update(this.updatePoint,!0)},this.handlePointerUp=(C,R)=>{this.end();const{onEnd:U,onSessionEnd:L,resumeAnimation:H}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&H&&H(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const G=ec(C.type==="pointercancel"?this.lastMoveEventInfo:Ks(R,this.transformPagePoint),this.history);this.startEvent&&U&&U(C,G),L&&L(C,G)},!$c(l))return;this.dragSnapToOrigin=h,this.handlers=o,this.transformPagePoint=u,this.distanceThreshold=d,this.contextWindow=c||window;const g=Ml(l),p=Ks(g,this.transformPagePoint),{point:x}=p,{timestamp:b}=ie;this.history=[{...x,timestamp:b}];const{onSessionStart:S}=o;S&&S(l,ec(p,this.history)),this.removeListeners=Tl(gl(this.contextWindow,"pointermove",this.handlePointerMove),gl(this.contextWindow,"pointerup",this.handlePointerUp),gl(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(l){let o=l.parentElement;for(;o;){const u=getComputedStyle(o);(j0.has(u.overflowX)||j0.has(u.overflowY))&&this.scrollPositions.set(o,{x:o.scrollLeft,y:o.scrollTop}),o=o.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(l){const o=this.scrollPositions.get(l);if(!o)return;const u=l===window,c=u?{x:window.scrollX,y:window.scrollY}:{x:l.scrollLeft,y:l.scrollTop},h={x:c.x-o.x,y:c.y-o.y};h.x===0&&h.y===0||(u?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=h.x,this.lastMoveEventInfo.point.y+=h.y):this.history.length>0&&(this.history[0].x-=h.x,this.history[0].y-=h.y),this.scrollPositions.set(l,c),Nt.update(this.updatePoint,!0))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Wn(this.updatePoint)}}function Ks(a,l){return l?{point:l(a.point)}:a}function D0(a,l){return{x:a.x-l.x,y:a.y-l.y}}function ec({point:a},l){return{point:a,delta:D0(a,Dg(l)),offset:D0(a,_A(l)),velocity:BA(l,.1)}}function _A(a){return a[0]}function Dg(a){return a[a.length-1]}function BA(a,l){if(a.length<2)return{x:0,y:0};let o=a.length-1,u=null;const c=Dg(a);for(;o>=0&&(u=a[o],!(c.timestamp-u.timestamp>ze(l)));)o--;if(!u)return{x:0,y:0};u===a[0]&&a.length>2&&c.timestamp-u.timestamp>ze(l)*2&&(u=a[1]);const h=qe(c.timestamp-u.timestamp);if(h===0)return{x:0,y:0};const d={x:(c.x-u.x)/h,y:(c.y-u.y)/h};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function UA(a,{min:l,max:o},u){return l!==void 0&&ao&&(a=u?wt(o,a,u.max):Math.min(a,o)),a}function z0(a,l,o){return{min:l!==void 0?a.min+l:void 0,max:o!==void 0?a.max+o-(a.max-a.min):void 0}}function LA(a,{top:l,left:o,bottom:u,right:c}){return{x:z0(a.x,o,c),y:z0(a.y,l,u)}}function N0(a,l){let o=l.min-a.min,u=l.max-a.max;return l.max-l.minu?o=vl(l.min,l.max-u,a.min):u>c&&(o=vl(a.min,a.max-c,l.min)),en(0,1,o)}function YA(a,l){const o={};return l.min!==void 0&&(o.min=l.min-a.min),l.max!==void 0&&(o.max=l.max-a.min),o}const Dc=.35;function GA(a=Dc){return a===!1?a=0:a===!0&&(a=Dc),{x:R0(a,"left","right"),y:R0(a,"top","bottom")}}function R0(a,l,o){return{min:O0(a,l),max:O0(a,o)}}function O0(a,l){return typeof a=="number"?a:a[l]||0}const XA=new WeakMap;class QA{constructor(l){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ft(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=l}start(l,{snapToCursor:o=!1,distanceThreshold:u}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const h=b=>{o&&this.snapToCursor(Ml(b).point),this.stopAnimation()},d=(b,S)=>{const{drag:C,dragPropagation:R,onDragStart:U}=this.getProps();if(C&&!R&&(this.openDragLock&&this.openDragLock(),this.openDragLock=gS(C),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),$e(H=>{let G=this.getAxisMotionValue(H).get()||0;if(tn.test(G)){const{projection:q}=this.visualElement;if(q&&q.layout){const X=q.layout.layoutBox[H];X&&(G=ce(X)*(parseFloat(G)/100))}}this.originPoint[H]=G}),U&&Nt.update(()=>U(b,S),!1,!0),xc(this.visualElement,"transform");const{animationState:L}=this.visualElement;L&&L.setActive("whileDrag",!0)},m=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S;const{dragPropagation:C,dragDirectionLock:R,onDirectionLock:U,onDrag:L}=this.getProps();if(!C&&!this.openDragLock)return;const{offset:H}=S;if(R&&this.currentDirection===null){this.currentDirection=kA(H),this.currentDirection!==null&&U&&U(this.currentDirection);return}this.updateAxis("x",S.point,H),this.updateAxis("y",S.point,H),this.visualElement.render(),L&&Nt.update(()=>L(b,S),!1,!0)},g=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S,this.stop(b,S),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:b}=this.getProps();(b||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:x}=this.getProps();this.panSession=new jg(l,{onSessionStart:h,onStart:d,onMove:m,onSessionEnd:g,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:x,distanceThreshold:u,contextWindow:Cg(this.visualElement),element:this.visualElement.current})}stop(l,o){const u=l||this.latestPointerEvent,c=o||this.latestPanInfo,h=this.isDragging;if(this.cancel(),!h||!c||!u)return;const{velocity:d}=c;this.startAnimation(d);const{onDragEnd:m}=this.getProps();m&&Nt.postRender(()=>m(u,c))}cancel(){this.isDragging=!1;const{projection:l,animationState:o}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:u}=this.getProps();!u&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(l,o,u){const{drag:c}=this.getProps();if(!u||!Js(l,c,this.currentDirection))return;const h=this.getAxisMotionValue(l);let d=this.originPoint[l]+u[l];this.constraints&&this.constraints[l]&&(d=UA(d,this.constraints[l],this.elastic[l])),h.set(d)}resolveConstraints(){var h;const{dragConstraints:l,dragElastic:o}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(h=this.visualElement.projection)==null?void 0:h.layout,c=this.constraints;l&&ui(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&u?this.constraints=LA(u.layoutBox,l):this.constraints=!1,this.elastic=GA(o),c!==this.constraints&&!ui(l)&&u&&this.constraints&&!this.hasMutatedConstraints&&$e(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=YA(u.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:o}=this.getProps();if(!l||!ui(l))return!1;const u=l.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const h=kS(u,c.root,this.visualElement.getTransformPagePoint());let d=HA(c.layout.layoutBox,h);if(o){const m=o(XS(d));this.hasMutatedConstraints=!!m,m&&(d=Jy(m))}return d}startAnimation(l){const{drag:o,dragMomentum:u,dragElastic:c,dragTransition:h,dragSnapToOrigin:d,onDragTransitionEnd:m}=this.getProps(),g=this.constraints||{},p=$e(x=>{if(!Js(x,o,this.currentDirection))return;let b=g&&g[x]||{};(d===!0||d===x)&&(b={min:0,max:0});const S=c?200:1e6,C=c?40:1e7,R={type:"inertia",velocity:u?l[x]:0,bounceStiffness:S,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...h,...b};return this.startAxisValueAnimation(x,R)});return Promise.all(p).then(m)}startAxisValueAnimation(l,o){const u=this.getAxisMotionValue(l);return xc(this.visualElement,l),u.start(Kc(l,u,0,o,this.visualElement,!1))}stopAnimation(){$e(l=>this.getAxisMotionValue(l).stop())}getAxisMotionValue(l){const o=`_drag${l.toUpperCase()}`,u=this.visualElement.getProps(),c=u[o];return c||this.visualElement.getValue(l,(u.initial?u.initial[l]:void 0)||0)}snapToCursor(l){$e(o=>{const{drag:u}=this.getProps();if(!Js(o,u,this.currentDirection))return;const{projection:c}=this.visualElement,h=this.getAxisMotionValue(o);if(c&&c.layout){const{min:d,max:m}=c.layout.layoutBox[o],g=h.get()||0;h.set(l[o]-wt(d,m,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:o}=this.getProps(),{projection:u}=this.visualElement;if(!ui(o)||!u||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};$e(d=>{const m=this.getAxisMotionValue(d);if(m&&this.constraints!==!1){const g=m.get();c[d]=qA({min:g,max:g},this.constraints[d])}});const{transformTemplate:h}=this.visualElement.getProps();this.visualElement.current.style.transform=h?h({},""):"none",u.root&&u.root.updateScroll(),u.updateLayout(),this.constraints=!1,this.resolveConstraints(),$e(d=>{if(!Js(d,l,null))return;const m=this.getAxisMotionValue(d),{min:g,max:p}=this.constraints[d];m.set(wt(g,p,c[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;XA.set(this.visualElement,this);const l=this.visualElement.current,o=gl(l,"pointerdown",p=>{const{drag:x,dragListener:b=!0}=this.getProps(),S=p.target,C=S!==l&&AS(S);x&&b&&!C&&this.start(p)});let u;const c=()=>{const{dragConstraints:p}=this.getProps();ui(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),u||(u=ZA(l,p.current,()=>this.scalePositionWithinConstraints())))},{projection:h}=this.visualElement,d=h.addEventListener("measure",c);h&&!h.layout&&(h.root&&h.root.updateScroll(),h.updateLayout()),Nt.read(c);const m=Sl(window,"resize",()=>this.scalePositionWithinConstraints()),g=h.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:x})=>{this.isDragging&&x&&($e(b=>{const S=this.getAxisMotionValue(b);S&&(this.originPoint[b]+=p[b].translate,S.set(S.get()+p[b].translate))}),this.visualElement.render())}));return()=>{m(),o(),d(),g&&g(),u&&u()}}getProps(){const l=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:u=!1,dragPropagation:c=!1,dragConstraints:h=!1,dragElastic:d=Dc,dragMomentum:m=!0}=l;return{...l,drag:o,dragDirectionLock:u,dragPropagation:c,dragConstraints:h,dragElastic:d,dragMomentum:m}}}function w0(a){let l=!0;return()=>{if(l){l=!1;return}a()}}function ZA(a,l,o){const u=qp(a,w0(o)),c=qp(l,w0(o));return()=>{u(),c()}}function Js(a,l,o){return(l===!0||l===a)&&(o===null||o===a)}function kA(a,l=10){let o=null;return Math.abs(a.y)>l?o="y":Math.abs(a.x)>l&&(o="x"),o}class KA extends $n{constructor(l){super(l),this.removeGroupControls=Ye,this.removeListeners=Ye,this.controls=new QA(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ye}update(){const{dragControls:l}=this.node.getProps(),{dragControls:o}=this.node.prevProps||{};l!==o&&(this.removeGroupControls(),l&&(this.removeGroupControls=l.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const nc=a=>(l,o)=>{a&&Nt.update(()=>a(l,o),!1,!0)};class JA extends $n{constructor(){super(...arguments),this.removePointerDownListener=Ye}onPointerDown(l){this.session=new jg(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cg(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:o,onPan:u,onPanEnd:c}=this.node.getProps();return{onSessionStart:nc(l),onStart:nc(o),onMove:nc(u),onEnd:(h,d)=>{delete this.session,c&&Nt.postRender(()=>c(h,d))}}}mount(){this.removePointerDownListener=gl(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ac=!1;class FA extends Y.Component{componentDidMount(){const{visualElement:l,layoutGroup:o,switchLayoutGroup:u,layoutId:c}=this.props,{projection:h}=l;h&&(o.group&&o.group.add(h),u&&u.register&&c&&u.register(h),ac&&h.root.didUpdate(),h.addEventListener("animationComplete",()=>{this.safeToRemove()}),h.setOptions({...h.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),no.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:o,visualElement:u,drag:c,isPresent:h}=this.props,{projection:d}=u;return d&&(d.isPresent=h,l.layoutDependency!==o&&d.setOptions({...d.options,layoutDependency:o}),ac=!0,c||l.layoutDependency!==o||o===void 0||l.isPresent!==h?d.willUpdate():this.safeToRemove(),l.isPresent!==h&&(h?d.promote():d.relegate()||Nt.postRender(()=>{const m=d.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:l,layoutAnchor:o}=this.props,{projection:u}=l;u&&(u.options.layoutAnchor=o,u.root.didUpdate(),Wc.postRender(()=>{!u.currentAnimation&&u.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:o,switchLayoutGroup:u}=this.props,{projection:c}=l;ac=!0,c&&(c.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(c),u&&u.deregister&&u.deregister(c))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function zg(a){const[l,o]=yg(),u=Y.useContext(Oc);return v.jsx(FA,{...a,layoutGroup:u,switchLayoutGroup:Y.useContext(Eg),isPresent:l,safeToRemove:o})}const PA={pan:{Feature:JA},drag:{Feature:KA,ProjectionNode:pg,MeasureLayout:zg}};function V0(a,l,o){const{props:u}=a;a.animationState&&u.whileHover&&a.animationState.setActive("whileHover",o==="Start");const c="onHover"+o,h=u[c];h&&Nt.postRender(()=>h(l,Ml(l)))}class WA extends $n{mount(){const{current:l}=this.node;l&&(this.unmount=xS(l,(o,u)=>(V0(this.node,u,"Start"),c=>V0(this.node,c,"End"))))}unmount(){}}class $A extends $n{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Tl(Sl(this.node.current,"focus",()=>this.onFocus()),Sl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function _0(a,l,o){const{props:u}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&u.whileTap&&a.animationState.setActive("whileTap",o==="Start");const c="onTap"+(o==="End"?"":o),h=u[c];h&&Nt.postRender(()=>h(l,Ml(l)))}class IA extends $n{mount(){const{current:l}=this.node;if(!l)return;const{globalTapTarget:o,propagate:u}=this.node.props;this.unmount=MS(l,(c,h)=>(_0(this.node,h,"Start"),(d,{success:m})=>_0(this.node,d,m?"End":"Cancel")),{useGlobalTarget:o,stopPropagation:(u==null?void 0:u.tap)===!1})}unmount(){}}const zc=new WeakMap,ic=new WeakMap,t3=a=>{const l=zc.get(a.target);l&&l(a)},e3=a=>{a.forEach(t3)};function n3({root:a,...l}){const o=a||document;ic.has(o)||ic.set(o,{});const u=ic.get(o),c=JSON.stringify(l);return u[c]||(u[c]=new IntersectionObserver(e3,{root:a,...l})),u[c]}function a3(a,l,o){const u=n3(l);return zc.set(a,o),u.observe(a),()=>{zc.delete(a),u.unobserve(a)}}const i3={some:0,all:1};class l3 extends $n{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var g;(g=this.stopObserver)==null||g.call(this);const{viewport:l={}}=this.node.getProps(),{root:o,margin:u,amount:c="some",once:h}=l,d={root:o?o.current:void 0,rootMargin:u,threshold:typeof c=="number"?c:i3[c]},m=p=>{const{isIntersecting:x}=p;if(this.isInView===x||(this.isInView=x,h&&!x&&this.hasEnteredView))return;x&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",x);const{onViewportEnter:b,onViewportLeave:S}=this.node.getProps(),C=x?b:S;C&&C(p)};this.stopObserver=a3(this.node.current,d,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:o}=this.node;["amount","margin","root"].some(s3(l,o))&&this.startObserver()}unmount(){var l;(l=this.stopObserver)==null||l.call(this),this.hasEnteredView=!1,this.isInView=!1}}function s3({viewport:a={}},{viewport:l={}}={}){return o=>a[o]!==l[o]}const o3={inView:{Feature:l3},tap:{Feature:IA},focus:{Feature:$A},hover:{Feature:WA}},u3={layout:{ProjectionNode:pg,MeasureLayout:zg}},r3={...OA,...o3,...PA,...u3},ve=jA(r3,DA),c3=({onOpenBudget:a})=>{const[l,o]=Y.useState(!1),[u,c]=Y.useState(!1);Y.useEffect(()=>{const d=()=>{o(window.scrollY>20)};return window.addEventListener("scroll",d),()=>window.removeEventListener("scroll",d)},[]),Y.useEffect(()=>(u?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[u]);const h=[{name:"Início",href:"#home"},{name:"Quem Somos",href:"#about"},{name:"Serviços",href:"#services"},{name:"Diferenciais",href:"#differentials"},{name:"Depoimentos",href:"#testimonials"},{name:"Contato",href:"#contact"}];return v.jsxs("nav",{className:`fixed top-0 left-0 w-full z-50 transition-all duration-300 ${l?"glass-nav py-3":"bg-transparent py-6"}`,children:[v.jsxs("div",{className:"max-w-7xl mx-auto px-6 flex items-center justify-between",children:[v.jsx("a",{href:"#home",className:"flex items-center gap-3",children:v.jsx("img",{src:"https://i.postimg.cc/zXHC7CKg/logo-sem-fundo-(4).png",alt:"Tabor Hills Logo",className:"h-12 md:h-16 w-auto object-contain",referrerPolicy:"no-referrer"})}),v.jsxs("div",{className:"hidden lg:flex items-center gap-8",children:[h.map(d=>v.jsx("a",{href:d.href,className:"text-sm font-medium text-primary hover:text-secondary transition-colors",children:d.name},d.name)),v.jsx("button",{onClick:a,className:"btn-primary text-sm py-2.5",children:"Orçamento Rápido"})]}),v.jsx("button",{className:"lg:hidden text-primary p-2",onClick:()=>c(!u),children:u?v.jsx(lc,{size:28}):v.jsx(Ux,{size:28})})]}),v.jsx(gg,{children:u&&v.jsxs(v.Fragment,{children:[v.jsx(ve.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>c(!1),className:"lg:hidden fixed inset-0 bg-black/40 backdrop-blur-sm z-40"}),v.jsxs(ve.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:25,stiffness:200},className:"lg:hidden fixed top-0 right-0 w-[85%] max-w-[400px] h-full bg-white z-50 shadow-2xl flex flex-col",children:[v.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-primary/5",children:[v.jsx("img",{src:"https://i.postimg.cc/zXHC7CKg/logo-sem-fundo-(4).png",alt:"Tabor Hills Logo",className:"h-10 w-auto object-contain",referrerPolicy:"no-referrer"}),v.jsx("button",{className:"text-primary p-2 hover:bg-primary/5 rounded-full transition-colors",onClick:()=>c(!1),children:v.jsx(lc,{size:28})})]}),v.jsxs("div",{className:"flex flex-col py-8 px-8 gap-6 overflow-y-auto",children:[h.map(d=>v.jsxs("a",{href:d.href,onClick:()=>c(!1),className:"text-xl font-semibold text-primary hover:text-secondary transition-colors flex items-center justify-between group",children:[d.name,v.jsx("div",{className:"w-2 h-2 rounded-full bg-secondary opacity-0 group-hover:opacity-100 transition-opacity"})]},d.name)),v.jsx("div",{className:"pt-4",children:v.jsx("button",{onClick:()=>{c(!1),a()},className:"btn-primary w-full flex items-center justify-center gap-2",children:"Orçamento Rápido"})}),v.jsxs("div",{className:"mt-8 flex flex-col gap-6 border-t border-primary/10 pt-8",children:[v.jsx("p",{className:"text-xs font-bold text-primary/40 uppercase tracking-widest",children:"Contato Direto"}),v.jsxs("a",{href:"tel:11919527303",className:"flex items-center gap-4 text-primary font-semibold hover:text-secondary transition-colors",children:[v.jsx("div",{className:"w-10 h-10 rounded-full bg-primary/5 flex items-center justify-center",children:v.jsx(Rc,{size:20,className:"text-primary"})}),v.jsx("span",{children:"(11) 91952-7303"})]})]})]}),v.jsx("div",{className:"mt-auto p-8 bg-primary/5 text-center",children:v.jsx("p",{className:"text-xs text-primary/60",children:"© 2026 Tabor Hills Serviços Essenciais"})})]})]})})]})},f3=({onOpenBudget:a})=>v.jsxs("section",{id:"home",className:"relative min-h-screen flex items-center pt-20 overflow-hidden",children:[v.jsx("div",{className:"absolute top-0 right-0 w-1/2 h-full bg-primary/5 -skew-x-12 translate-x-1/4 -z-10"}),v.jsx("div",{className:"absolute bottom-0 left-0 w-64 h-64 bg-primary/5 rounded-full blur-3xl -translate-x-1/2 translate-y-1/2 -z-10"}),v.jsxs("div",{className:"max-w-7xl mx-auto px-6 grid lg:grid-cols-2 gap-12 items-center",children:[v.jsxs(ve.div,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.8},children:[v.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 text-primary px-4 py-2 rounded-full text-sm font-semibold mb-6",children:[v.jsx(yx,{size:16}),"8 anos de excelência operacional"]}),v.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary leading-tight mb-6",children:["Excelência em serviços essenciais para empresas que exigem ",v.jsx("span",{className:"text-secondary italic font-serif",children:"alto padrão."})]}),v.jsx("p",{className:"text-lg text-ink/70 mb-10 max-w-xl leading-relaxed",children:"Há 8 anos entregando soluções inteligentes em facilities com profissionalismo, agilidade e atendimento personalizado em São Paulo, Baixada Santista e Grande ABC."}),v.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[v.jsxs("button",{onClick:a,className:"btn-primary flex items-center justify-center gap-2 group",children:["Fazer orçamento rápido",v.jsx(U0,{size:18,className:"group-hover:translate-x-1 transition-transform"})]}),v.jsxs("a",{href:"https://wa.me/5511961913777?text=Olá!%20Gostaria%20de%20conhecer%20os%20treinamentos%20oferecidos%20pela%20TABOR%20HILLS%20SERVIÇOS%20ESSENCIAIS.%20Poderia%20me%20passar%20mais%20informações?",target:"_blank",rel:"noopener noreferrer",className:"btn-secondary flex items-center justify-center gap-2",children:[v.jsx(ao,{size:18}),"Conhecer nossos treinamentos"]})]}),v.jsxs("div",{className:"mt-12 flex flex-wrap gap-8 items-center border-t border-primary/10 pt-8",children:[v.jsxs("div",{className:"flex items-center gap-2 text-ink/60",children:[v.jsx(Fn,{size:18,className:"text-primary"}),v.jsx("span",{className:"text-sm font-medium",children:"São Paulo"})]}),v.jsxs("div",{className:"flex items-center gap-2 text-ink/60",children:[v.jsx(Fn,{size:18,className:"text-primary"}),v.jsx("span",{className:"text-sm font-medium",children:"Baixada Santista"})]}),v.jsxs("div",{className:"flex items-center gap-2 text-ink/60",children:[v.jsx(Fn,{size:18,className:"text-primary"}),v.jsx("span",{className:"text-sm font-medium",children:"Grande ABC"})]})]})]}),v.jsxs(ve.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.8,delay:.2},className:"relative hidden lg:block",children:[v.jsxs("div",{className:"relative z-10 rounded-2xl overflow-hidden shadow-2xl border-8 border-white",children:[v.jsx("img",{src:"https://i.postimg.cc/8zLyz5QS/Chat-GPT-Image-21-03-2026-16-47-59.png",alt:"TABOR HILLS Serviços Essenciais",className:"w-full h-[500px] object-cover",referrerPolicy:"no-referrer"}),v.jsx("div",{className:"absolute inset-0 bg-primary/20 mix-blend-multiply"})]}),v.jsxs("div",{className:"absolute -bottom-6 -left-6 bg-white p-6 rounded-xl shadow-xl z-20 border border-primary/5",children:[v.jsx("div",{className:"text-4xl font-bold text-primary",children:"8+"}),v.jsxs("div",{className:"text-sm text-ink/60 font-medium",children:["Anos de",v.jsx("br",{}),"Experiência"]})]}),v.jsxs("div",{className:"absolute -top-6 -right-6 bg-primary text-white p-6 rounded-xl shadow-xl z-20 max-w-[200px]",children:[v.jsx(Fx,{className:"mb-3 text-secondary",size:32}),v.jsx("p",{className:"text-sm font-medium leading-snug",children:"Segurança e confiança em cada detalhe operacional."})]})]})]})]}),d3=()=>{const a=[{icon:v.jsx(o2,{className:"text-primary",size:24}),title:"Profissionalismo",desc:"Equipe altamente treinada e postura ética em todas as interações."},{icon:v.jsx(h3,{className:"text-primary",size:24}),title:"Confiabilidade",desc:"Processos seguros e compromisso total com a entrega contratada."},{icon:v.jsx(G0,{className:"text-primary",size:24}),title:"Agilidade Operacional",desc:"Respostas rápidas e eficiência na resolução de demandas diárias."},{icon:v.jsx(e2,{className:"text-primary",size:24}),title:"Atendimento Personalizado",desc:"Soluções sob medida desenhadas para a realidade de cada cliente."}];return v.jsx("section",{id:"about",className:"section-padding bg-white relative overflow-hidden",children:v.jsx("div",{className:"max-w-7xl mx-auto",children:v.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[v.jsxs(ve.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[v.jsx("span",{className:"text-secondary font-bold tracking-widest uppercase text-sm mb-4 block",children:"Quem Somos"}),v.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-primary mb-8 leading-tight",children:["Compromisso com a excelência e ",v.jsx("span",{className:"italic font-serif",children:"alto padrão"})," profissional."]}),v.jsx("p",{className:"text-ink/70 text-lg leading-relaxed mb-8",children:"A TABOR HILLS SERVIÇOS ESSENCIAIS é uma empresa especializada em soluções inteligentes em facilities, atuando há 8 anos com excelência, responsabilidade e alto padrão profissional."}),v.jsx("p",{className:"text-ink/70 text-lg leading-relaxed mb-10",children:"Nosso compromisso é oferecer serviços essenciais com máxima eficiência, organização e atenção aos detalhes, contribuindo diretamente para a rotina, a imagem e o desempenho operacional dos nossos clientes. Atendemos São Paulo, Baixada Santista e Grande ABC com uma equipe preparada, postura profissional e soluções sob medida para cada necessidade."}),v.jsxs("div",{className:"flex items-center gap-4 p-6 bg-cream rounded-2xl border border-primary/5",children:[v.jsx("div",{className:"w-12 h-12 bg-primary rounded-full flex items-center justify-center text-white shrink-0",children:v.jsx(Mx,{size:24})}),v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold text-primary",children:"Qualidade Garantida"}),v.jsx("p",{className:"text-sm text-ink/60",children:"Foco total na satisfação e no resultado operacional."})]})]})]}),v.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:a.map((l,o)=>v.jsxs(ve.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:o*.1},className:"p-8 bg-cream rounded-2xl border border-primary/5 card-hover",children:[v.jsx("div",{className:"mb-4",children:l.icon}),v.jsx("h3",{className:"text-xl font-bold text-primary mb-2",children:l.title}),v.jsx("p",{className:"text-ink/60 text-sm leading-relaxed",children:l.desc})]},l.title))})]})})})},h3=({className:a,size:l})=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l||24,height:l||24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:a,children:v.jsx("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10"})}),m3=({onOpenBudget:a})=>{const l=[{icon:v.jsx(Wx,{className:"text-primary",size:28}),title:"Limpeza Profissional",desc:"Higienização técnica para ambientes que exigem assepsia e cuidado rigoroso.",benefit:"Ambientes impecáveis e seguros."},{icon:v.jsx(bx,{className:"text-primary",size:28}),title:"Limpeza Empresarial",desc:"Manutenção diária de escritórios e áreas comuns com foco em produtividade.",benefit:"Bem-estar para sua equipe."},{icon:v.jsx(r2,{className:"text-primary",size:28}),title:"Manutenção Predial e Elétrica",desc:"Reparos preventivos e corretivos para garantir o funcionamento total da estrutura.",benefit:"Redução de custos com paradas."},{icon:v.jsx(l2,{className:"text-primary",size:28}),title:"Portaria e Recepção",desc:"Controle de acesso e atendimento cordial com extremo profissionalismo.",benefit:"Primeira impressão de excelência."},{icon:v.jsx(Tx,{className:"text-primary",size:28}),title:"Manobrista e Motorista",desc:"Profissionais habilitados e treinados para condução segura e ágil.",benefit:"Conforto e segurança total."},{icon:v.jsx(vx,{className:"text-primary",size:28}),title:"Apoio Administrativo",desc:"Suporte operacional para rotinas de escritório e logística interna.",benefit:"Foco no seu core business."},{icon:v.jsx(wx,{className:"text-primary",size:28}),title:"Jardineiro",desc:"Cuidado especializado com áreas verdes e paisagismo corporativo.",benefit:"Valorização estética do imóvel."},{icon:v.jsx(Dx,{className:"text-primary",size:28}),title:"Copeira",desc:"Serviço de copa com higiene, organização e atendimento gentil.",benefit:"Hospitalidade no ambiente corporativo."},{icon:v.jsx(a2,{className:"text-primary",size:28}),title:"Motorista de Empilhadeira",desc:"Operação técnica e segura para centros logísticos e estoques.",benefit:"Eficiência na movimentação de carga."},{icon:v.jsx(Zx,{className:"text-primary",size:28}),title:"Serviços Personalizados",desc:"Soluções sob demanda para necessidades específicas do seu negócio.",benefit:"Flexibilidade total para sua empresa."}];return v.jsx("section",{id:"services",className:"section-padding bg-cream",children:v.jsxs("div",{className:"max-w-7xl mx-auto",children:[v.jsxs("div",{className:"text-center mb-16",children:[v.jsx("span",{className:"text-secondary font-bold tracking-widest uppercase text-sm mb-4 block",children:"Nossas Soluções"}),v.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-primary mb-6",children:"Serviços Especializados"}),v.jsx("p",{className:"text-ink/60 max-w-2xl mx-auto text-lg",children:"Oferecemos uma gama completa de serviços de facilities com o mais alto padrão de qualidade do mercado."})]}),v.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:l.map((o,u)=>v.jsxs(ve.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:u*.05},className:"bg-white p-8 rounded-2xl border border-primary/5 shadow-sm card-hover flex flex-col",children:[v.jsx("div",{className:"mb-6 w-14 h-14 bg-primary/5 rounded-xl flex items-center justify-center",children:o.icon}),v.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:o.title}),v.jsx("p",{className:"text-ink/70 text-sm mb-4 flex-grow leading-relaxed",children:o.desc}),v.jsxs("div",{className:"pt-4 border-t border-primary/5",children:[v.jsxs("p",{className:"text-xs font-bold text-secondary uppercase tracking-wider mb-4",children:["Benefício: ",o.benefit]}),v.jsxs("button",{onClick:a,className:"text-primary font-bold text-sm flex items-center gap-2 group",children:["Solicitar este serviço",v.jsx(U0,{size:16,className:"group-hover:translate-x-1 transition-transform"})]})]})]},o.title))}),v.jsx("div",{className:"mt-16 text-center",children:v.jsx("button",{onClick:a,className:"btn-primary px-10 py-4 text-lg",children:"Fazer orçamento rápido"})})]})})},p3=()=>{const a=[{name:"São Paulo",desc:"Capital e região metropolitana"},{name:"Baixada Santista",desc:"Santos, Guarujá, Praia Grande e região"},{name:"Grande ABC",desc:"Santo André, São Bernardo e São Caetano"}],l=[{icon:v.jsx(H0,{className:"text-white",size:24}),title:"8 anos de experiência",desc:"Histórico sólido de entregas de alto padrão."},{icon:v.jsx(Kx,{className:"text-white",size:24}),title:"Equipe treinada e preparada",desc:"Profissionais qualificados para cada função específica."},{icon:v.jsx(G0,{className:"text-white",size:24}),title:"Atendimento ágil e profissional",desc:"Foco na resolução rápida de demandas."},{icon:v.jsx(Nx,{className:"text-white",size:24}),title:"Soluções sob medida",desc:"Adaptamos nossos serviços à sua necessidade real."},{icon:v.jsx(L0,{className:"text-white",size:24}),title:"Compromisso com qualidade",desc:"Padrão de excelência em cada detalhe operacional."}];return v.jsx("section",{id:"differentials",className:"section-padding bg-white overflow-hidden",children:v.jsx("div",{className:"max-w-7xl mx-auto",children:v.jsxs("div",{className:"grid lg:grid-cols-2 gap-20",children:[v.jsxs(ve.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[v.jsx("span",{className:"text-secondary font-bold tracking-widest uppercase text-sm mb-4 block",children:"Onde Atuamos"}),v.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary mb-8",children:"Presença Estratégica"}),v.jsx("p",{className:"text-ink/60 text-lg mb-10",children:"Atendemos as principais regiões econômicas do estado, garantindo agilidade logística e suporte local."}),v.jsx("div",{className:"space-y-6",children:a.map(o=>v.jsxs("div",{className:"flex items-start gap-4 p-6 bg-cream rounded-2xl border border-primary/5",children:[v.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center text-primary shrink-0",children:v.jsx(Fn,{size:24})}),v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold text-primary text-xl",children:o.name}),v.jsx("p",{className:"text-ink/60",children:o.desc})]})]},o.name))})]}),v.jsxs(ve.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[v.jsx("span",{className:"text-secondary font-bold tracking-widest uppercase text-sm mb-4 block",children:"Diferenciais"}),v.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-primary mb-8",children:["Por que escolher a ",v.jsx("span",{className:"italic font-serif",children:"Tabor Hills?"})]}),v.jsx("div",{className:"space-y-8",children:l.map((o,u)=>v.jsxs("div",{className:"flex gap-6",children:[v.jsx("div",{className:"w-12 h-12 bg-primary rounded-xl flex items-center justify-center shrink-0 shadow-lg shadow-primary/20",children:o.icon}),v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold text-primary text-lg mb-1",children:o.title}),v.jsx("p",{className:"text-ink/60 text-sm leading-relaxed",children:o.desc})]})]},o.title))})]})]})})})},y3=()=>{const a=[{name:"Juliana Góes",role:"Síndica Profissional – Max Condo",text:"Gostaria de elogiar o excelente atendimento da empresa Tabor. Desde o primeiro contato, fui muito bem atendida, com profissionalismo e agilidade. A equipe enviada para o serviço demonstrou competência, organização e um ótimo comprometimento com a qualidade. Recomendo a Tabor para quem busca um serviço confiável e de alto nível!",stars:5},{name:"Carlos M.",role:"Gestor Predial",text:"A segurança no nosso prédio era uma preocupação constante. Com a Tabor Hills, sentimos a diferença já na primeira semana. Organização, controle de acesso e presença real da equipe.",stars:5},{name:"Denise Nogueira",role:"Colaboradora – Cond. Log House",text:"O senhor não tem ideia do quanto a TABOR HILLS me ajuda, de verdade, não só financeiramente, mas depois que comecei a trabalhar na empresa do senhor até paz interior sinto.",stars:5}];return v.jsxs("section",{id:"testimonials",className:"section-padding bg-primary text-white relative overflow-hidden",children:[v.jsx("div",{className:"absolute top-0 left-0 w-full h-full opacity-5 pointer-events-none",children:v.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:[v.jsx("defs",{children:v.jsx("pattern",{id:"grid",width:"40",height:"40",patternUnits:"userSpaceOnUse",children:v.jsx("path",{d:"M 40 0 L 0 0 0 40",fill:"none",stroke:"white",strokeWidth:"1"})})}),v.jsx("rect",{width:"100%",height:"100%",fill:"url(#grid)"})]})}),v.jsxs("div",{className:"max-w-7xl mx-auto relative z-10",children:[v.jsxs("div",{className:"text-center mb-16",children:[v.jsx("span",{className:"text-secondary font-bold tracking-widest uppercase text-sm mb-4 block",children:"Prova Social"}),v.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-6",children:"Empresas que confiam e recomendam"}),v.jsx("p",{className:"text-white/60 max-w-2xl mx-auto text-lg",children:"Atendimento elogiado pela qualidade, pontualidade e extremo profissionalismo."})]}),v.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:a.map((l,o)=>v.jsxs(ve.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:o*.1},className:"bg-white/5 backdrop-blur-sm p-8 rounded-2xl border border-white/10 flex flex-col",children:[v.jsx("div",{className:"flex gap-1 mb-6",children:[...Array(l.stars)].map((u,c)=>v.jsx(Ix,{size:16,className:"fill-yellow-400 text-yellow-400"},c))}),v.jsx(Yx,{className:"text-secondary mb-4 opacity-50",size:32}),v.jsxs("p",{className:"text-white/80 italic mb-8 flex-grow leading-relaxed",children:['"',l.text,'"']}),v.jsxs("div",{className:"pt-6 border-t border-white/10",children:[v.jsx("h4",{className:"font-bold text-white",children:l.name}),v.jsx("p",{className:"text-white/40 text-sm",children:l.role})]})]},l.name))})]})]})},g3=()=>{const a=[{icon:v.jsx(ao,{size:24}),label:"WhatsApp",value:"(11) 96191-3777",href:"https://wa.me/5511961913777",color:"bg-[#25D366]"},{icon:v.jsx(Rc,{size:24}),label:"Ligação Direta",value:"(11) 91952-7303",href:"tel:11919527303",color:"bg-primary"},{icon:v.jsx(q0,{size:24}),label:"Instagram",value:"@tabor.hills.servicos",href:"https://instagram.com/tabor.hills.servicos",color:"bg-gradient-to-tr from-[#f9ce34] via-[#ee2a7b] to-[#6228d7]"},{icon:v.jsx(Y0,{size:24}),label:"E-mail Comercial",value:"comercial@taborhills.com.br",href:"mailto:comercial@taborhills.com.br",color:"bg-secondary"}];return v.jsx("section",{id:"contact",className:"section-padding bg-cream",children:v.jsx("div",{className:"max-w-7xl mx-auto",children:v.jsxs("div",{className:"grid lg:grid-cols-2 gap-16",children:[v.jsxs(ve.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[v.jsx("span",{className:"text-secondary font-bold tracking-widest uppercase text-sm mb-4 block",children:"Canais de Atendimento"}),v.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-primary mb-8",children:"Vamos conversar sobre o seu projeto?"}),v.jsx("p",{className:"text-ink/60 text-lg mb-12 leading-relaxed",children:"Estamos prontos para oferecer a melhor solução em facilities para sua empresa. Escolha o canal de sua preferência e fale com nossos especialistas."}),v.jsxs("div",{className:"space-y-6",children:[v.jsxs("div",{className:"flex items-center gap-4 text-ink/70",children:[v.jsx("div",{className:"w-10 h-10 bg-primary/5 rounded-full flex items-center justify-center text-primary",children:v.jsx(Fn,{size:20})}),v.jsx("span",{children:"Atendimento em SP, Baixada Santista e ABC"})]}),v.jsxs("div",{className:"flex items-center gap-4 text-ink/70",children:[v.jsx("div",{className:"w-10 h-10 bg-primary/5 rounded-full flex items-center justify-center text-primary",children:v.jsx(H0,{size:20})}),v.jsx("span",{children:"Segunda a Sexta, das 08h às 18h"})]})]})]}),v.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:a.map((l,o)=>v.jsxs(ve.a,{href:l.href,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:o*.1},className:"bg-white p-8 rounded-2xl border border-primary/5 shadow-sm card-hover flex flex-col items-center text-center group",children:[v.jsx("div",{className:`w-14 h-14 ${l.color} text-white rounded-2xl flex items-center justify-center mb-6 shadow-lg group-hover:scale-110 transition-transform`,children:l.icon}),v.jsx("span",{className:"text-xs font-bold text-secondary uppercase tracking-widest mb-2",children:l.label}),v.jsx("span",{className:"text-primary font-bold text-lg break-all",children:l.value})]},l.label))})]})})})},v3=()=>{const a=new Date().getFullYear();return v.jsx("footer",{className:"bg-primary text-white pt-20 pb-10 px-6 md:px-12 lg:px-24",children:v.jsxs("div",{className:"max-w-7xl mx-auto",children:[v.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 mb-16",children:[v.jsxs("div",{className:"lg:col-span-1",children:[v.jsx("img",{src:"https://i.postimg.cc/zXHC7CKg/logo-sem-fundo-(4).png",alt:"Tabor Hills Logo",className:"h-16 w-auto mb-6 brightness-0 invert",referrerPolicy:"no-referrer"}),v.jsx("p",{className:"text-white/60 text-sm leading-relaxed mb-6",children:"TABOR HILLS SERVIÇOS ESSENCIAIS — Soluções inteligentes em facilities com excelência, confiança e alto padrão de atendimento."}),v.jsxs("div",{className:"flex gap-4",children:[v.jsx("a",{href:"https://instagram.com/tabor.hills.servicos",className:"w-10 h-10 bg-white/10 rounded-full flex items-center justify-center hover:bg-secondary transition-colors",children:v.jsx(q0,{size:18})}),v.jsx("a",{href:"https://wa.me/5511961913777",className:"w-10 h-10 bg-white/10 rounded-full flex items-center justify-center hover:bg-secondary transition-colors",children:v.jsx(ao,{size:18})})]})]}),v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold text-lg mb-6",children:"Links Rápidos"}),v.jsxs("ul",{className:"space-y-4 text-white/60 text-sm",children:[v.jsx("li",{children:v.jsx("a",{href:"#home",className:"hover:text-secondary transition-colors",children:"Início"})}),v.jsx("li",{children:v.jsx("a",{href:"#about",className:"hover:text-secondary transition-colors",children:"Quem Somos"})}),v.jsx("li",{children:v.jsx("a",{href:"#services",className:"hover:text-secondary transition-colors",children:"Serviços"})}),v.jsx("li",{children:v.jsx("a",{href:"#differentials",className:"hover:text-secondary transition-colors",children:"Diferenciais"})}),v.jsx("li",{children:v.jsx("a",{href:"#testimonials",className:"hover:text-secondary transition-colors",children:"Depoimentos"})})]})]}),v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold text-lg mb-6",children:"Onde Atuamos"}),v.jsxs("ul",{className:"space-y-4 text-white/60 text-sm",children:[v.jsxs("li",{className:"flex items-center gap-2",children:[v.jsx(Fn,{size:14,className:"text-secondary"})," São Paulo"]}),v.jsxs("li",{className:"flex items-center gap-2",children:[v.jsx(Fn,{size:14,className:"text-secondary"})," Baixada Santista"]}),v.jsxs("li",{className:"flex items-center gap-2",children:[v.jsx(Fn,{size:14,className:"text-secondary"})," Grande ABC"]})]})]}),v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold text-lg mb-6",children:"Contatos"}),v.jsxs("ul",{className:"space-y-4 text-white/60 text-sm",children:[v.jsxs("li",{className:"flex items-center gap-3",children:[v.jsx(Rc,{size:16,className:"text-secondary"}),v.jsx("a",{href:"tel:11919527303",className:"hover:text-white transition-colors",children:"(11) 91952-7303"})]}),v.jsxs("li",{className:"flex items-center gap-3",children:[v.jsx(ao,{size:16,className:"text-secondary"}),v.jsx("a",{href:"https://wa.me/5511961913777",className:"hover:text-white transition-colors",children:"(11) 96191-3777"})]}),v.jsxs("li",{className:"flex items-center gap-3",children:[v.jsx(Y0,{size:16,className:"text-secondary"}),v.jsx("a",{href:"mailto:comercial@taborhills.com.br",className:"hover:text-white transition-colors",children:"comercial@taborhills.com.br"})]})]})]})]}),v.jsxs("div",{className:"pt-8 border-t border-white/10 flex flex-col md:flex-row justify-between items-center gap-4 text-white/40 text-xs",children:[v.jsxs("p",{children:["© ",a," TABOR HILLS SERVIÇOS ESSENCIAIS. Todos os direitos reservados."]}),v.jsx("p",{children:"Desenvolvido com excelência e profissionalismo."})]})]})})},x3=({isOpen:a,onClose:l})=>{const[o,u]=Y.useState({nome:"",empresa:"",cpfCnpj:"",telefone:"",email:"",servico:"",localidade:"",mensagem:""}),[c,h]=Y.useState(!1),[d,m]=Y.useState(!1),g=b=>{const S=b.replace(/\D/g,"");return S.length<=11?S.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})$/,"$1-$2"):S.replace(/^(\d{2})(\d)/,"$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3").replace(/\.(\d{3})(\d)/,".$1/$2").replace(/(\d{4})(\d)/,"$1-$2").substring(0,18)},p=b=>{const{name:S,value:C}=b.target;u(S==="cpfCnpj"?{...o,[S]:g(C)}:{...o,[S]:C})},x=b=>{b.preventDefault(),h(!0);const S=`Olá! Gostaria de solicitar um orçamento com a TABOR HILLS SERVIÇOS ESSENCIAIS. *Nome:* ${o.nome} *Empresa ou pessoa:* ${o.empresa} *CPF/CNPJ:* ${o.cpfCnpj} *Telefone:* ${o.telefone} *E-mail:* ${o.email} *Serviço desejado:* ${o.servico} *Localidade:* ${o.localidade} *Mensagem:* ${o.mensagem}`,R=`https://wa.me/5511961913777?text=${encodeURIComponent(S)}`;setTimeout(()=>{h(!1),m(!0),setTimeout(()=>{window.open(R,"_blank"),l(),m(!1),u({nome:"",empresa:"",cpfCnpj:"",telefone:"",email:"",servico:"",localidade:"",mensagem:""})},1500)},1e3)};return v.jsx(gg,{children:a&&v.jsxs("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 md:p-6",children:[v.jsx(ve.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:l,className:"absolute inset-0 bg-primary/40 backdrop-blur-sm"}),v.jsxs(ve.div,{initial:{opacity:0,scale:.9,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:20},className:"relative w-full max-w-2xl bg-white rounded-3xl shadow-2xl overflow-hidden",children:[v.jsxs("div",{className:"bg-primary p-8 text-white relative",children:[v.jsx("button",{onClick:l,className:"absolute top-6 right-6 text-white/60 hover:text-white transition-colors",children:v.jsx(lc,{size:24})}),v.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-2",children:"Solicitar Orçamento Rápido"}),v.jsx("p",{className:"text-white/60 text-sm",children:"Preencha os dados abaixo e entraremos em contato via WhatsApp."})]}),v.jsx("div",{className:"p-8 max-h-[70vh] overflow-y-auto",children:d?v.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-center",children:[v.jsx("div",{className:"w-20 h-20 bg-green-100 text-green-600 rounded-full flex items-center justify-center mb-6",children:v.jsx(L0,{size:48})}),v.jsx("h3",{className:"text-2xl font-bold text-primary mb-2",children:"Dados Recebidos!"}),v.jsx("p",{className:"text-ink/60",children:"Redirecionando para o WhatsApp..."})]}):v.jsxs("form",{onSubmit:x,className:"grid md:grid-cols-2 gap-6",children:[v.jsxs("div",{className:"space-y-2",children:[v.jsx("label",{className:"text-xs font-bold text-primary uppercase tracking-widest",children:"Nome Completo *"}),v.jsx("input",{required:!0,type:"text",name:"nome",value:o.nome,onChange:p,placeholder:"Seu nome",className:"w-full px-4 py-3 rounded-xl border border-primary/10 bg-cream/50 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all"})]}),v.jsxs("div",{className:"space-y-2",children:[v.jsx("label",{className:"text-xs font-bold text-primary uppercase tracking-widest",children:"Empresa ou Pessoa *"}),v.jsx("input",{required:!0,type:"text",name:"empresa",value:o.empresa,onChange:p,placeholder:"Nome da empresa",className:"w-full px-4 py-3 rounded-xl border border-primary/10 bg-cream/50 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all"})]}),v.jsxs("div",{className:"space-y-2",children:[v.jsx("label",{className:"text-xs font-bold text-primary uppercase tracking-widest",children:"CPF ou CNPJ *"}),v.jsx("input",{required:!0,type:"text",name:"cpfCnpj",value:o.cpfCnpj,onChange:p,placeholder:"000.000.000-00",className:"w-full px-4 py-3 rounded-xl border border-primary/10 bg-cream/50 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all"})]}),v.jsxs("div",{className:"space-y-2",children:[v.jsx("label",{className:"text-xs font-bold text-primary uppercase tracking-widest",children:"Telefone *"}),v.jsx("input",{required:!0,type:"tel",name:"telefone",value:o.telefone,onChange:p,placeholder:"(00) 00000-0000",className:"w-full px-4 py-3 rounded-xl border border-primary/10 bg-cream/50 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all"})]}),v.jsxs("div",{className:"space-y-2",children:[v.jsx("label",{className:"text-xs font-bold text-primary uppercase tracking-widest",children:"E-mail *"}),v.jsx("input",{required:!0,type:"email",name:"email",value:o.email,onChange:p,placeholder:"seu@email.com",className:"w-full px-4 py-3 rounded-xl border border-primary/10 bg-cream/50 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all"})]}),v.jsxs("div",{className:"space-y-2",children:[v.jsx("label",{className:"text-xs font-bold text-primary uppercase tracking-widest",children:"Serviço Desejado *"}),v.jsxs("select",{required:!0,name:"servico",value:o.servico,onChange:p,className:"w-full px-4 py-3 rounded-xl border border-primary/10 bg-cream/50 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all appearance-none",children:[v.jsx("option",{value:"",children:"Selecione um serviço"}),v.jsx("option",{value:"Limpeza Profissional",children:"Limpeza Profissional"}),v.jsx("option",{value:"Limpeza Empresarial",children:"Limpeza Empresarial"}),v.jsx("option",{value:"Manutenção Predial/Elétrica",children:"Manutenção Predial/Elétrica"}),v.jsx("option",{value:"Portaria e Recepção",children:"Portaria e Recepção"}),v.jsx("option",{value:"Manobrista e Motorista",children:"Manobrista e Motorista"}),v.jsx("option",{value:"Apoio Administrativo",children:"Apoio Administrativo"}),v.jsx("option",{value:"Jardineiro",children:"Jardineiro"}),v.jsx("option",{value:"Copeira",children:"Copeira"}),v.jsx("option",{value:"Motorista de Empilhadeira",children:"Motorista de Empilhadeira"}),v.jsx("option",{value:"Outros",children:"Outros"})]})]}),v.jsxs("div",{className:"md:col-span-2 space-y-2",children:[v.jsx("label",{className:"text-xs font-bold text-primary uppercase tracking-widest",children:"Localidade *"}),v.jsxs("select",{required:!0,name:"localidade",value:o.localidade,onChange:p,className:"w-full px-4 py-3 rounded-xl border border-primary/10 bg-cream/50 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all appearance-none",children:[v.jsx("option",{value:"",children:"Selecione a região"}),v.jsx("option",{value:"São Paulo",children:"São Paulo"}),v.jsx("option",{value:"Baixada Santista",children:"Baixada Santista"}),v.jsx("option",{value:"Grande ABC",children:"Grande ABC"}),v.jsx("option",{value:"Outra",children:"Outra"})]})]}),v.jsxs("div",{className:"md:col-span-2 space-y-2",children:[v.jsx("label",{className:"text-xs font-bold text-primary uppercase tracking-widest",children:"Mensagem / Detalhes"}),v.jsx("textarea",{name:"mensagem",value:o.mensagem,onChange:p,rows:4,placeholder:"Descreva sua necessidade...",className:"w-full px-4 py-3 rounded-xl border border-primary/10 bg-cream/50 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all resize-none"})]}),v.jsx("div",{className:"md:col-span-2 pt-4",children:v.jsx("button",{type:"submit",disabled:c,className:"btn-primary w-full flex items-center justify-center gap-3 py-4 text-lg disabled:opacity-70",children:c?"Processando...":v.jsxs(v.Fragment,{children:["Enviar para WhatsApp",v.jsx(Xx,{size:20})]})})})]})})]})]})})};function b3(){const[a,l]=Y.useState(!1),o=()=>l(!0),u=()=>l(!1);return v.jsxs("div",{className:"min-h-screen selection:bg-primary selection:text-white",children:[v.jsx(c3,{onOpenBudget:o}),v.jsxs("main",{children:[v.jsx(f3,{onOpenBudget:o}),v.jsx(d3,{}),v.jsx(m3,{onOpenBudget:o}),v.jsx(p3,{}),v.jsx(y3,{}),v.jsx(g3,{})]}),v.jsx(v3,{}),v.jsx(x3,{isOpen:a,onClose:u})]})}ux.createRoot(document.getElementById("root")).render(v.jsx(Y.StrictMode,{children:v.jsx(b3,{})}));